Avoid running into nonexistent system calls repeatedly.
[gnulib.git] / ChangeLog
index 6fc1016..efac0df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,34 @@
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/dup3.c (dup3): Test only once whether the system actually exists.
+       * lib/pipe2.c (pipe2): Likewise.
+       Suggested by Eric Blake.
+
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+       Tolerate declared but missing dup3 syscall.
+       * lib/dup3.c (dup3): Invoke original dup3 function first, if available.
+       * lib/unistd.in.h (dup3): If the function is already present,
+       override it.
+       * m4/dup3.m4 (gl_FUNC_DUP3): Remove AC_LIBOBJ invocation.
+       * modules/dup3 (Makefile.am): Compile dup3.c always.
+       Reported by Paolo Bonzini.
+
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+       Tolerate declared but missing pipe2 syscall.
+       * lib/pipe2.c (pipe2): Invoke original pipe2 function first, if
+       available.
+       * lib/unistd.in.h (pipe2): If the function is already present,
+       override it.
+       * m4/pipe2.m4 (gl_FUNC_PIPE2): Remove AC_LIBOBJ invocation.
+       * modules/pipe2 (Makefile.am): Compile pipe2.c always.
+       Reported by Paolo Bonzini.
+
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/pipe2.c (pipe2): Move #ifs inside function.
+
 2009-08-22  Joel E. Denny  <jdenny@clemson.edu>
 
        quotearg: document limitations of quote_these_too