A new test for posix_spawn.
[gnulib.git] / ChangeLog
index 9167e34..76c7363 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,81 @@
 2008-09-29  Bruno Haible  <bruno@clisp.org>
 
+       * tests/test-posix_spawn1.c: Renamed from tests/test-posix_spawn.c.
+       * tests/test-posix_spawn1.in.sh: Renamed from
+       tests/test-posix_spawn.in.sh.
+       * tests/test-posix_spawn2.c: New file.
+       * tests/test-posix_spawn2.in.sh: New file.
+       * modules/posix_spawnp-tests (Files): Update.
+       (Makefile.am): Update. Add test-posix_spawn2 to the tests.
+
+2008-09-29  Bruno Haible  <bruno@clisp.org>
+
+       Propagate effects of putenv/setenv/unsetenv to child processes.
+       * lib/execute.c (execute): Use spawnvpe instead of spawnvp.
+       * lib/pipe.c (create_pipe): Likewise.
+
+2008-09-29  Bruno Haible  <bruno@clisp.org>
+
+       Enable use of shell scripts as executables in mingw.
+       * lib/execute.c (execute): When spawnv fails with error ENOEXEC,
+       run the program as a shell script.
+       * lib/pipe.c (create_pipe): Likewise.
+       * lib/w32spawn.h (prepare_spawn): Add a hidden element in front of the
+       resulting array.
+
+2008-09-29  Eric Blake  <ebb9@byu.net>
+
+       * m4/arpa_inet_h.m4 (gl_REPLACE_ARPA_INET_H): Fix typo.
+
+2008-08-24  Paolo Bonzini  <bonzini@gnu.org>
+
+       * doc/posix-functions/accept.texi: Update mingw problems.
+       * doc/posix-functions/bind.texi: Update mingw problems.
+       * doc/posix-functions/close.texi: Update mingw problems.
+       * doc/posix-functions/connect.texi: Update mingw problems.
+       * doc/posix-functions/getpeername.texi: Update mingw problems.
+       * doc/posix-functions/getsockname.texi: Update mingw problems.
+       * doc/posix-functions/getsockopt.texi: Update mingw problems.
+       * doc/posix-functions/ioctl.texi: Update mingw problems.
+       * doc/posix-functions/listen.texi: Update mingw problems.
+       * doc/posix-functions/recv.texi: Update mingw problems.
+       * doc/posix-functions/recvfrom.texi: Update mingw problems.
+       * doc/posix-functions/select.texi: Update mingw problems.
+       * doc/posix-functions/send.texi: Update mingw problems.
+       * doc/posix-functions/sendto.texi: Update mingw problems.
+       * doc/posix-functions/setsockopt.texi: Update mingw problems.
+       * doc/posix-functions/socket.texi: Update mingw problems.
+
+2008-09-29  Paolo Bonzini  <bonzini@gnu.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       * lib/sys_select.in.h: Include sys/time.h.
+       * m4/sys_select.h.m4: Test that struct timeval is fully defined.
+       * modules/sys_select: Depend on sys_time.
+       * tests/test-sys_select.c: Test that sys/select.h defines struct
+       timeval fully.
+
+2008-09-29  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sys_socket.in.h: Wrap the definitions in 'extern "C"'.
+       * lib/sys_select.in.h: Likewise.
+
+2008-09-29  Bruno Haible  <bruno@clisp.org>
+
+       * lib/winsock.c (rpl_close, rpl_socket): Remove unused variables.
+
+2008-09-29  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sockets.m4 (gl_SOCKETS): Check also for the need to use -lsocket.
+       Set LIBSOCKET instead of augmenting LIBS.
+       * modules/sockets (Link): New section.
+       * modules/sockets-tests (test_sockets_LDADD): New variable.
+       * modules/sys_select-tests (test_sys_select_LDADD): New variable.
+       * modules/poll-tests (test_poll_LDADD): New variable.
+       * NEWS: Document the change.
+
+2008-09-29  Bruno Haible  <bruno@clisp.org>
+
        * m4/arpa_inet_h.m4 (gl_REPLACE_ARPA_INET_H): New macro.
        * m4/inet_ntop.m4 (gl_INET_NTOP): Invoke it instead of assigning
        ARPA_INET_H directly.