add sockets wrappers
[gnulib.git] / ChangeLog
index e5acd44..f8bf89f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,93 @@
+2008-09-23  Paolo Bonzini  <bonzini@gnu.org>
+
+       * lib/sys_socket.in.h: Do not implement rpl_setsockopt here,
+       instead define prototypes for a full set of wrappers.  Ensure
+       that Cygwin does not use the compatibility code, which is only
+       for MinGW.
+       * lib/winsock.c: New.
+       * m4/sys_socket_h.m4: Compile lib/winsock.c if WinSock is being used.
+       * modules/sys_socket: Add lib/winsock.c.
+
+       * modules/poll-tests: Add errno and perror.
+       * tests/test-poll.c: Use ioctl, not ioctlsocket.
+
+2008-09-23  Paolo Bonzini  <bonzini@gnu.org>
+
+       * tests/test-poll.c: Downgrade minimum needed Winsock version.
+
+2008-09-23  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/*: Add info about functions missing on IRIX 5.3.
+       * doc/glibc-functions/*: Likewise.
+
+2008-09-23  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-perror.sh (tmpfiles): Cleanup temporary files on
+       success.
+
+2008-09-22  Eric Blake  <ebb9@byu.net>
+            Bruno Haible  <bruno@clisp.org>
+
+       vasnprintf: fix x86/glibc regression on printf("%La", 0.0L)
+       * lib/vasnprintf.c (VASNPRINTF): Support 0.0 on platforms that
+       supply %A but mishandle pseudo-NaN.
+       Reported by Simon Josefsson.
+
+2008-09-21  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-lock.c (main): Tweak skip message.
+       * tests/test-tls.c (main): Likewise.
+
+2008-09-21  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sigaction.m4 (gl_SIGACTION): Remove unnecessary AC_SUBST. Check
+       whether 'struct sigaction' has sa_sigaction here...
+       (gl_PREREQ_SIG_HANDLER_H): ... not here.
+       (gl_PREREQ_SIGACTION): Remove unnecessary AC_SUBST.
+
+2008-09-21  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (Support for obsolete systems lacking ANSI C 89): New
+       section.
+       (Support for systems lacking ANSI C 89): Move stdlib, exit, strtol,
+       strtoul, memchr, memcmp, memcpy, memmove, memset, strcspn, strpbrk to
+       the new section.
+       (Support for obsolete systems lacking POSIX:2001): New section.
+       (String handling <string.h>): Move strdup to the new section.
+       Suggested by Simon Josefsson and Paolo Bonzini.
+
+2008-09-21  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-vasnprintf-posix.c (test_function): Allow 3-digit
+       exponents in %e and %g results on 'long double'. Needed for mingw's
+       improved *printf functions.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * tests/test-snprintf-posix.h (test_function): Likewise.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+       Reported by Eric Blake.
+
+2008-09-21  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-snprintf-posix.h (test_function): Remove useless ASSERTs.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+
+2008-09-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getpass (Depends-on): Add strdup-posix.
+
+       New module 'strdup-posix'.
+       * modules/strdup-posix: New file.
+       * m4/strdup.m4 (gl_FUNC_STRDUP_POSIX): New macro.
+       * lib/string.in.h (strdup): Replace if REPLACE_STRDUP is 1.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Initialize
+       REPLACE_STRDUP.
+       * modules/string (Makefile.am): Substitute REPLACE_STRDUP.
+       * doc/posix-functions/strdup.texi: Mention module strdup-posix.
+       * MODULES.html.sh (Support for systems lacking POSIX:2001): Add
+       strdup-posix.
+
+       * modules/strdup (Depends-on): Remove malloc-posix.
+
 2008-09-20  Bruno Haible  <bruno@clisp.org>
 
        * lib/fstrcmp.c: Add data about branch probabilities, from Ralf