Re: getndelim2 improvements

2008-05-02 Thread Bruno Haible
Eric Blake wrote: 4. EOF when reading the first byte, no error, and offset 0. Return value was 0 and is now -1. I still think this case is like getdelim failing at EOF, particularly since... 5. EOF when reading the first byte, no error, and offset == 0. Return value

Re: provide inet_?to? declarations in arpa_inet.h

2008-05-02 Thread Simon Josefsson
Bruno Haible [EMAIL PROTECTED] writes: The variable are set to 0 in the inet_ntop/inet_pton modules, via a AC_CHECK_DECLS statement. No, it isn't. AC_CHECK_DECLS([inet_ntop]...) sets the shell variable ac_cv_have_decl_inet_ntop to yes or no. It does not set the shell variable

Re: tests/test-getaddrinfo.c: compile failures on freebsd 6

2008-05-02 Thread Simon Josefsson
Jim Meyering [EMAIL PROTECTED] writes: Here's a fix for the first: test-getaddrinfo.c: In function 'simple': test-getaddrinfo.c:67: error: 'EAI_NODATA' undeclared (first use in this function) test-getaddrinfo.c:67: error: (Each undeclared identifier is reported only once