strtok_r: Fix C syntax error in autoconf macro.
[gnulib.git] / ChangeLog
index 97909fe..fbf72fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,115 @@
+2010-12-25  Bruno Haible  <bruno@clisp.org>
+
+       strtok_r: Fix C syntax error in autoconf macro.
+       * m4/strtok_r.m4 (gl_FUNC_STRTOK_R): Don't use UTF-8 encoded U+00A0
+       characters in test program.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       ceil, trunc, round: Fix gcc warnings.
+       * lib/ceil.c (MIN): Undefine before redefining.
+       * lib/trunc.c (MIN): Likewise.
+       * lib/round.c (MIN): Likewise.
+       Include <math.h> first.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       select tests: Avoid failures on OSF/1 5.1.
+       * tests/test-select.c (test_accept_first, test_socket_pair): Ignore
+       failure of closing the last socket; it may fail with ECONNRESET.
+
+2010-12-24  Eric Blake  <eblake@redhat.com>
+
+       stdint: avoid HP-UX 10.20 preprocessor bug
+       * lib/stdint.in.h (INT64_MAX, UINT64_MAX): Check via #ifdef rather
+       than #if.
+       * tests/test-floor2.c (main): Likewise.
+       Reported by Peter O'Gorman.
+
+       pipe: make obsoletion transition easier
+       * lib/pipe.h: Restore file as thin shim around "spawn-pipe.h".
+       * modules/pipe (Files): Include revived file.
+       (Include): Drop reference, to mirror getdate's behavior.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       sys_socket: Hide mismatch of declarations on NonStop Kernel.
+       * lib/sys_socket.in.h (connect, bind, sendto, setsockopt): Use
+       _GL_CXXALIAS_SYS_CAST instead of _GL_CXXALIAS_SYS.
+       Reported by Joachim Schmitz <jojo@schmitz-digital.de>.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       gethostname: Ensure declaration on NonStop Kernel.
+       * lib/unistd.in.h: Include <netdb.h> also on NonStop Kernel systems.
+       Reported by Joachim Schmitz <jojo@schmitz-digital.de>.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       sys_select: Ensure all necessary types on NonStop Kernel.
+       * lib/sys_select.in.h: If the system does not have <sys/select.h>,
+       include <sys/time.h>.
+       * doc/posix-headers/sys_select.texi: Mention that it's missing on
+       NonStop Kernel.
+       Reported by Joachim Schmitz <jojo@schmitz-digital.de>.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       sys_select: Remove unneeded include.
+       * lib/sys_select.in.h: Don't include <sys/socket.h> on platforms that
+       have <sys/select.h>.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       gethostname: Provide a fallback for HOST_NAME_MAX.
+       * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): When neither HOST_NAME_MAX
+       nor MAXHOSTNAMELEN is found in the usual system headers, use 256
+       instead.
+       Reported by Joachim Schmitz <jojo@schmitz-digital.de>.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       sigaction tests: Allow missing SA_RESETHAND and SA_RESTART.
+       * tests/test-sigaction.c (SA_RESETHAND): Fall back to 0.
+       (SA_RESTART): Likewise.
+       Reported by Joachim Schmitz <jojo@schmitz-digital.de>.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       signal: Define NSIG.
+       * lib/signal.in.h (NSIG): Define to 32 on NonStop Kernel.
+       * tests/test-signal.c (nsig): New variable.
+       Reported by Joachim Schmitz <jojo@schmitz-digital.de>.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       rename, renameat: Avoid test failures on OSF/1 5.1.
+       * tests/test-rename.h (test_rename): Allow EEXIST and ENOTDIR as
+       alternative error codes.
+       * tests/test-renameat.c (main): Likewise.
+
+2010-12-24  Bruno Haible  <bruno@clisp.org>
+
+       *printf: Detect large precisions bug on Solaris 10/SPARC.
+       * m4/printf.m4 (gl_PRINTF_PRECISION): Add one more test code, provided
+       by Paul Eggert.
+       * tests/test-snprintf-posix.h (test_function): Add this test code here
+       too.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+       * tests/test-vasnprintf-posix.c (test_function): Likewise.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * doc/posix-functions/fprintf.texi: Mention Solaris 10 bug as worked
+       around by gnulib.
+       * doc/posix-functions/printf.texi: Likewise.
+       * doc/posix-functions/snprintf.texi: Likewise.
+       * doc/posix-functions/sprintf.texi: Likewise.
+       * doc/posix-functions/vfprintf.texi: Likewise.
+       * doc/posix-functions/vprintf.texi: Likewise.
+       * doc/posix-functions/vsnprintf.texi: Likewise.
+       * doc/posix-functions/vsprintf.texi: Likewise.
+       * doc/posix-functions/dprintf.texi: Undo last commit.
+       * doc/posix-functions/vdprintf.texi: Likewise.
+
 2010-12-23  Paul Eggert  <eggert@cs.ucla.edu>
 
        tests: port test-fdutimensat.c to Solaris 8