Re: bug in getaddrinfo module

2005-11-08 Thread Simon Josefsson
[EMAIL PROTECTED] (Eric Blake) writes: > A quick grep shows that inet_ntop.h suffers from the same > bug. The 6 other occurances of ifndef.*HAVE_DECL in lib/*.[ch] > intentionally cause compile-time errors, so they are okay. > > 2005-11-08 Eric Blake <[EMAIL PROTECTED]> > > * inet_ntop.h:

Re: bug in getaddrinfo module

2005-11-08 Thread Eric Blake
> It looks like getaddrinfo.h is using > #ifndef HAVE_DECL_GETADDRINFO, but AC_CHECK_DECLS > uses #define HAVE_DECL_GETADDRINFO 0 in config.h. A quick grep shows that inet_ntop.h suffers from the same bug. The 6 other occurances of ifndef.*HAVE_DECL in lib/*.[ch] intentionally cause compile-time

Re: bug in getaddrinfo module

2005-11-08 Thread Simon Josefsson
[EMAIL PROTECTED] (Eric Blake) writes: > gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -Wall -c ../../lib/canon-host.c > ../../lib/canon-host.c: In function `canon_host_r': > ../../lib/canon-host.c:71: warning: implicit declaration of function > `getaddrinfo' > ../../lib/canon-host.c:77: warning:

Re: bug in getaddrinfo module

2005-09-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Eggert on 9/22/2005 11:14 PM: > Thanks for reporting that. Aside from the missing > that you mentioned, I noticed a few other glitches. > > I installed the following fix into coreutils; does it fix things for > you? If so, it shou

Re: bug in getaddrinfo module

2005-09-22 Thread Paul Eggert
[EMAIL PROTECTED] (Eric Blake) writes: > gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -g -O2 -c ../../lib/getaddrinfo.c > ../../lib/getaddrinfo.c: In function `getaddrinfo': > ../../lib/getaddrinfo.c:112: error: invalid application of `sizeof' to > incomplete type `sockaddr_in' Thanks for repor