Mercurial > hg > octave-kai > gnulib-hg
changeset 14681:c2323f314c22
test-getaddrinfo: report error information
Clang deduced that if ENABLE_DEBUGGING is undefined, then err
was a dead assignment. But in the EAI_SYSTEM case, we fail
the test, so the output should be unconditional.
* tests/test-getaddrinfo.c (simple): Use err outside of dbprintf.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Tue, 03 May 2011 15:27:11 -0600 |
parents | 20d9ddde1ce5 |
children | af0bb23f406a |
files | ChangeLog tests/test-getaddrinfo.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Eric Blake <eblake@redhat.com> + + test-getaddrinfo: report error information + * tests/test-getaddrinfo.c (simple): Use err outside of dbprintf. + 2011-05-03 Jim Meyering <meyering@redhat.com> bootstrap: avoid build failure when $GZIP is set