Fixes for netdb.h.
[gnulib.git] / ChangeLog
index 3aa6dab..8d470e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,53 @@
+2008-10-16  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/netdb_h.m4: Assume that if netdb.h exists, it works.
+       * lib/netdb.in.h: Fix typo.
+       Reported by Bruno Haible  <bruno@clisp.org>
+
+       * lib/netdb.in.h: Include sys/socket.h for platforms without
+       netdb.h, to get structures like hostent on MinGW.
+       * modules/netdb (Depends-on): Add sys_socket.
+
+2008-10-15  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/netdb, modules/netdb-tests: New file.
+       * m4/netdb_h.m4: New file.
+       * lib/netdb.in.h: Add, currently just an empty file pending
+       definitions.
+       * tests/test-netdb.c: New file.
+       * doc/posix-headers/netdb.texi: Mention that we replace it if
+       needed.
+       * MODULES.html.sh (Support for systems lacking POSIX:2001): Add
+       netdb.
+
+2008-10-15  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/gnulib.texi (Getaddrinfo and WINVER): Sync documentation
+       with code.
+
+2008-10-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/cond.c (glthread_cond_wait_func,
+       glthread_cond_timedwait_func): Add a comment.
+
+2008-10-13  Yoann Vandoorselaere  <yoann@prelude-ids.org>
+
+       * tests/test-poll.c: Include <sys/ioctl.h>, for ioctl().
+       * tests/test-select.c: Likewise,
+
+2008-10-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/cond.c (glthread_cond_wait_func,
+       glthread_cond_timedwait_func): Fix variable name.
+       Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
+
+2008-10-13  Paolo Bonzini  <bonzini@gnu.org>
+
+       fix getaddrinfo emulation for systems with struct sockaddr.sa_len
+       * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Detect
+       struct sockaddr.sa_len.
+       * lib/getaddrinfo.c (getaddrinfo): Set it if appropriate.
+
 2008-10-13  Simon Josefsson  <simon@josefsson.org>
 
        * build-aux/pmccabe2html: Add css and css_url parameters.