+2011-09-21 Bruno Haible <bruno@clisp.org>
+
+ select tests: Avoid test failures on OSF/1 5.1 and mingw.
+ * tests/test-select.h (test_bad_fd): Disable all tests on OSF/1 and
+ native Windows.
+
+2011-09-21 Bruno Haible <bruno@clisp.org>
+
+ New module 'fdopen'.
+ * lib/stdio.in.h (fdopen): New declaration.
+ * lib/fdopen.c: New file.
+ * m4/fdopen.m4: New file.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize GNULIB_FDOPEN,
+ REPLACE_FDOPEN.
+ * modules/stdio (Makefile.am): Substitute GNULIB_FDOPEN,
+ REPLACE_FDOPEN.
+ * modules/fdopen: New file.
+ * modules/stdio-tests (Depends-on): Remove fdopen-tests.
+ * tests/test-stdio-c++.cc: Check signature of fdopen.
+ * doc/posix-functions/fdopen.texi: Mention the new module.
+
+2011-09-21 Bruno Haible <bruno@clisp.org>
+
+ unlockpt tests: Avoid test failure on NetBSD 5.1.
+ * tests/test-unlockpt.c (main): Skip the EBADF tests on NetBSD.
+ * doc/posix-functions/unlockpt.texi: Mention the bug on NetBSD.
+
+2011-09-21 Bruno Haible <bruno@clisp.org>
+
+ getlogin, getlogin_r tests: Avoid test failure on Linux/SPARC.
+ * tests/test-getlogin.c (main): Allow a failure with EINVAL.
+ * tests/test-getlogin_r.c (main): Likewise.
+
+2011-09-20 Bruno Haible <bruno@clisp.org>
+
+ time tests: Don't require pid_t.
+ * doc/posix-headers/time.texi: Revert last change.
+ * m4/time_h.m4 (gl_HEADER_TIME_H_BODY): Revert last change.
+ * tests/test-time.c: Comment out the check for pid_t.
+
+2011-09-20 Bruno Haible <bruno@clisp.org>
+
+ fsync tests: Avoid a test failure on mingw.
+ * tests/test-fsync.c (main): Allow a failure with EIO.
+
+2011-09-20 Bruno Haible <bruno@clisp.org>
+
+ euidaccess: Update comments.
+ * m4/euidaccess.m4 (gl_PREREQ_EUIDACCESS): Update comments.
+
+2011-09-20 Bruno Haible <bruno@clisp.org>
+
+ Ensure EBADF returns for socket functions on mingw.
+ * lib/accept.c (rpl_accept): Fail with error EBADF if the file
+ descriptor is invalid.
+ * lib/bind.c (rpl_bind): Likewise.
+ * lib/connect.c (rpl_connect): Likewise.
+ * lib/getpeername.c (rpl_getpeername): Likewise.
+ * lib/getsockname.c (rpl_getsockname): Likewise.
+ * lib/getsockopt.c (rpl_getsockopt): Likewise.
+ * lib/listen.c (rpl_listen): Likewise.
+ * lib/recv.c (rpl_recv): Likewise.
+ * lib/recvfrom.c (rpl_recvfrom): Likewise.
+ * lib/send.c (rpl_send): Likewise.
+ * lib/sendto.c (rpl_sendto): Likewise.
+ * lib/setsockopt.c (rpl_setsockopt): Likewise.
+ * lib/shutdown.c (rpl_shutdown): Likewise.
+
+2011-09-20 Bruno Haible <bruno@clisp.org>
+
+ select tests: EBADF tests.
+ * tests/test-select.h (do_select_bad_fd, do_select_bad_fd_nowait,
+ test_bad_fd): New functions.
+ (test_function): Invoke also test_bad_fd.
+
+2011-09-20 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'posix_spawn_file_actions_addopen.
+ * modules/posix_spawn_file_actions_addopen-tests: New file.
+ * tests/test-posix_spawn_file_actions_addopen.c: New file.
+
+ Tests for module 'posix_spawn_file_actions_adddup2'.
+ * modules/posix_spawn_file_actions_adddup2-tests: New file.
+ * tests/test-posix_spawn_file_actions_adddup2.c: New file.
+
+ Tests for module 'posix_spawn_file_actions_addclose'.
+ * modules/posix_spawn_file_actions_addclose-tests: New file.
+ * tests/test-posix_spawn_file_actions_addclose.c: New file.
+
2011-09-20 Bruno Haible <bruno@clisp.org>
Tests for module 'unlockpt'.