w32sock: leave win32 error in place.
[gnulib.git] / ChangeLog
index 2b4cf53..25e8b59 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,88 @@
+2009-11-26  Richard Jones  <rjones@redhat.com>
+
+       w32sock: leave win32 error in place.
+       * lib/w32sock.h (set_winsock_errno): Do not call WSASetLastError.
+
+2009-11-26  Eric Blake  <ebb9@byu.net>
+
+       init.sh: suggest to use skip_ and fail_ functions in comments
+       * tests/init.sh: Add a sentence.
+
+2009-11-25  Bruno Haible  <bruno@clisp.org>
+
+       init.sh: add documentation in comments
+       * tests/init.sh: Add some developer and user documentation.
+
+2009-11-26  Jim Meyering  <meyering@redhat.com>
+
+       init.sh: accommodate even those who specify bogus srcdir manually
+       * tests/init.sh: Normally, srcdir is guaranteed by automake and
+       configure-time tests to be sanitized, so that there is no need to
+       use "$srcdir" in Makefile rules and shell scripts.  Using $srcdir
+       (with no double quotes) suffices.  However, since tests may be
+       invoked manually, and since you may explicitly set srcdir to the
+       name of a directory containing spaces, do quote its uses here.
+       * tests/test-pread.sh: Likewise.
+       Suggested by Bruno Haible.
+
+       test-pread.sh: avoid diagnostics for those who ignore SIGPIPE
+       * tests/test-pread.sh: Write no data into the pipe, because
+       test-pread actually reads none.  This avoids a diagnostic,
+       "bash: echo: write error: Broken pipe", that arises in the unusual
+       event something is ignoring SIGPIPE, and might be interpreted
+       as some sort of failure.  Reported by Bruno Haible.
+
+2009-11-25  Jim Meyering  <meyering@redhat.com>
+
+       test-pread: cover failure with ESPIPE and EINVAL
+       * tests/test-pread.c (main): Test for failure, too.
+       * tests/test-pread.sh: Invoke with stdin on a pipe.
+       Suggested by Eric Blake.
+
+       pread: improvement and fix
+       * modules/pread (Depends-on): Depend on lseek, for portability to
+       e.g., mingw.  Suggested by Eric Blake.
+       * lib/pread.c (__libc_read): Define.  Reported by Richard W.M. Jones.
+
+       unistd.in.h: correct declaration of pread
+       * lib/unistd.in.h: Correct type of "buf" parameter: void*, not char*
+       Reported by Richard W.M. Jones.
+
+       test-pread.sh: distribute the test script
+       * modules/pread-tests (Files): Include test-pread.sh.
+
+       test-pread.sh: clean up
+       * tests/test-pread.sh: Don't refer to $builddir. Just use equivalent ".".
+       * modules/pread-tests (TESTS_ENVIRONMENT): Don't export builddir.
+       That is unnecessary, since it's always ".".
+       Suggestion from Eric Blake.
+
+       test-pread.sh: make executable
+       * tests/test-pread.sh: Set executable bit.
+       Reported by Eric Blake.
+
+       correct typo in test-pread.sh
+       * tests/test-pread.sh: Add #! line.
+
+       test pread
+       * tests/test-pread.c: New file.
+       * tests/test-pread.sh: Likewise.
+       * modules/pread-tests: Likewise.
+
+       pread: new module
+       * modules/pread: New file.
+       * lib/unistd.in.h (pread): Define/declare.
+       * lib/pread.c (pread): New file.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Define defaults.
+       * modules/unistd (Makefile.am): Substitute witnesses.
+       * doc/posix-functions/pread.texi (pread): Update.
+       * MODULES.html.sh: Add pread.
+
+2009-11-25  Jim Meyering  <meyering@redhat.com>
+
+       tests/init.sh: new file to be used via most *.sh tests
+       * tests/init.sh: New file.
+
 2009-11-25  Eric Blake  <ebb9@byu.net>
 
        utimens: work around older Linux failure with symlinks