-m(dup2): Texinfo typo
[gnulib.git] / ChangeLog
index efac0df..0a1297d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,88 @@
+2009-08-27  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-bitrotate.c (main): Remove test that uses a shift count
+       of 0.
+
+2009-08-27  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-func.c (main): Don't verify sizeof __func__ on SunPRO C
+       compilers.
+       * doc/func.texi: Document the SunPRO C bug.
+
+2009-08-27  Bruno Haible  <bruno@clisp.org>
+
+       Fix link error on Solaris.
+       * tests/test-parse-duration.c (xstrdup): Remove function.
+
+2009-08-26  Pádraig Brady  <P@draigbrady.com>
+
+       ignore-value: handle pointer types, too
+       * lib/ignore-value.h (__attribute__): Remove definition.
+       (ignore_value): Remove use of "__attribute__ ((unused))" in favor
+       of a more concise and more-often effective "(void) i" statement.
+       (ignore_ptr): New function to suppress warnings from functions that
+       return pointers, and to make it explicit that one function doesn't
+       handle all cases.
+
+2009-08-25  Bruno Haible  <bruno@clisp.org>
+
+       dup2: work around a Linux bug.
+       * m4/dup2.m4 (gl_FUNC_DUP2): Test for the Linux bug.
+       * lib/dup2.c (rpl_dup2): Correct the return value if it is -EBADF.
+       * doc/posix-functions/dup2.texi: Mention the Linux bug.
+       Reported by Simon Josefsson.
+
+2009-08-25  Jim Meyering  <meyering@redhat.com>
+
+       libguestfs uses gnulib
+       * users.txt: Add libguestfs.
+
+2009-08-24  Eric Blake  <ebb9@byu.net>
+
+       dup2, pipe2: fix some recent test failures on cygwin 1.5.x
+       * lib/pipe2.c (includes): Add binary-io.h.
+       * lib/dup2.c (rpl_dup2): Correct buggy errno value.
+
+2009-08-24  Bruno Haible  <bruno@clisp.org>
+
+       Tolerate declared but missing accept4 syscall.
+       * lib/accept4.c (accept4): Invoke original accept4 function first, if
+       available.
+       * lib/sys_socket.in.h (accept4): If the function is already present,
+       override it.
+       * m4/accept4.m4 (gl_FUNC_ACCEPT4): Remove AC_LIBOBJ invocation.
+       * modules/accept4 (Makefile.am): Compile accept4.c always.
+       Reported by Paolo Bonzini and Eric Blake.
+
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+       New module 'accept4'.
+       * lib/sys_socket.in.h (accept4): New declaration.
+       * lib/accept4.c: New file.
+       * m4/accept4.m4: New file.
+       * m4/sys_socket_h.m4 (gl_SYS_SOCKET_H_DEFAULTS): Initialize
+       GNULIB_ACCEPT4, HAVE_ACCEPT4.
+       * modules/sys_socket (Makefile.am): Substitute GNULIB_ACCEPT4,
+       HAVE_ACCEPT4.
+       * modules/accept4: New file.
+       * doc/glibc-functions/accept4.texi: Mention the new module.
+
+2009-08-24  Jim Meyering  <meyering@redhat.com>
+
+       progname: also set global program_invocation_name, when possible
+       Before this change, a libtool-enabled program that calls glibc's
+       error function would report the program name as
+       "/abs/dir/.libs/lt-program_name" rather than the desired program_name.
+       * modules/progname (configure.ac): Check for a declaration of
+       program_invocation_name.
+       * lib/progname.c:  Include <errno.h>.
+       (set_program_name) [HAVE_DECL_PROGRAM_INVOCATION_NAME]:
+       Set program_invocation_name.
+
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/dup3.c: Include <string.h>.
+
 2009-08-23  Bruno Haible  <bruno@clisp.org>
 
        * lib/dup3.c (dup3): Test only once whether the system actually exists.