Update entry about pspp.
[gnulib.git] / ChangeLog
index 2849469..f1e189f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,137 @@
+2008-10-22  Bruno Haible  <bruno@clisp.org>
+
+       * users.txt: Update entry about pspp.
+
+2008-10-21  Bruno Haible  <bruno@clisp.org>
+
+       Simplification.
+       * lib/sys_socket.in.h (_gl_close_fd_maybe_socket): Remove declaration.
+       * lib/close.c (_gl_close_fd_maybe_socket): Make static.
+
+       Simplification.
+       * lib/ioctl.c (ioctl): Don't undefine.
+       * lib/socket.c (socket): Don't undefine.
+
+       Remove unused module indicator macros.
+       * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR): Don't define
+       GNULIB_$1 as a C macro.
+
+       * doc/posix-functions/close.texi: Undo last change.
+       * doc/posix-functions/ioctl.texi: Merge the two paragraphs about
+       Windows platforms.
+
+2008-10-21  Bruno Haible  <bruno@clisp.org>
+
+       Add gethostname() declaration to <unistd.h>.
+       * lib/unistd.in.h (gethostname): New declaration.
+       * lib/gethostname.c: Include <unistd.h>.
+       * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Require
+       gl_UNISTD_H_DEFAULTS. Set HAVE_GETHOSTNAME.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_GETHOSTNAME
+       and HAVE_GETHOSTNAME.
+       * modules/gethostname (Depends-on): Add unistd.
+       (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR.
+       (Include): Specify <unistd.h>.
+       * modules/unistd (Makefile.am): Substitute GNULIB_GETHOSTNAME and
+       HAVE_GETHOSTNAME.
+       * tests/test-gethostname.c: Include <unistd.h> first.
+
+2008-10-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/poll-tests (Depends-on): Add sys_ioctl, ioctl.
+       * modules/select-tests (Depends-on): Likewise.
+       Reported by Simon Josefsson.
+
+2008-10-21  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/close.c: Add _gl_close_fd_maybe_socket from winsock.c.
+       * lib/accept.c: New file, based on winsock.c.
+       * lib/bind.c: New file, based on winsock.c.
+       * lib/connect.c: New file, based on winsock.c.
+       * lib/getpeername.c: New file, based on winsock.c.
+       * lib/getsockname.c: New file, based on winsock.c.
+       * lib/getsockopt.c: New file, based on winsock.c.
+       * lib/ioctl.c: New file, based on winsock.c.
+       * lib/listen.c: New file, based on winsock.c.
+       * lib/recv.c: New file, based on winsock.c.
+       * lib/recvfrom.c: New file, based on winsock.c.
+       * lib/send.c: New file, based on winsock.c.
+       * lib/sendto.c: New file, based on winsock.c.
+       * lib/setsockopt.c: New file, based on winsock.c.
+       * lib/shutdown.c: New file, based on winsock.c.
+       * lib/socket.c: New file, based on winsock.c.
+       * lib/w32sock.h: New file, based on winsock.c.
+       * lib/winsock.c: Remove file.
+       * modules/accept: Likewise.
+       * modules/bind: Likewise.
+       * modules/connect: Likewise.
+       * modules/getpeername: Likewise.
+       * modules/getsockname: Likewise.
+       * modules/getsockopt: Likewise.
+       * modules/ioctl: Likewise.
+       * modules/listen: Likewise.
+       * modules/recv: Likewise.
+       * modules/recvfrom: Likewise.
+       * modules/send: Likewise.
+       * modules/sendto: Likewise.
+       * modules/setsockopt: Likewise.
+       * modules/shutdown: Likewise.
+       * modules/socket: Use socket.c instead of winsock.c.
+       * modules/sys_socket: Remove (unneeded?) dependency on winsock.c.
+       * doc/posix-functions/accept.texi: Doc fix.
+       * doc/posix-functions/bind.texi: Doc fix.
+       * doc/posix-functions/close.texi: Doc fix.
+       * doc/posix-functions/connect.texi: Doc fix.
+       * doc/posix-functions/getpeername.texi: Doc fix.
+       * doc/posix-functions/getsockname.texi: Doc fix.
+       * doc/posix-functions/getsockopt.texi: Doc fix.
+       * doc/posix-functions/ioctl.texi: Doc fix.
+       * doc/posix-functions/listen.texi: Doc fix.
+       * doc/posix-functions/recv.texi: Doc fix.
+       * doc/posix-functions/recvfrom.texi: Doc fix.
+       * doc/posix-functions/send.texi: Doc fix.
+       * doc/posix-functions/sendto.texi: Doc fix.
+       * doc/posix-functions/setsockopt.texi: Doc fix.
+       * doc/posix-functions/shutdown.texi: Doc fix.
+       * doc/posix-functions/socket.texi: Doc fix.
+
+2008-10-20  Bruno Haible  <bruno@clisp.org>
+
+       Take into account the role of SIGABRT_COMPAT on Windows 2008.
+       * lib/sigprocmask.c (SIGABRT_COMPAT, SIGABRT_COMPAT_MASK): New macros.
+       (sigismember, sigaddset, sigdelset, sigfillset, rpl_signal): Handle it
+       as an alias for SIGABRT.
+       * lib/sigaction.c (SIGABRT_COMPAT): New macro.
+       (sigaction): Map it to SIGABRT.
+       Reported by Ramiro Polla <ramiro.polla@gmail.com> via Eric Blake.
+
+2008-10-20  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fts.c: Don't include lstat.h.
+       * lib/openat.c: Include <sys/stat.h> instead of lstat.h.
+
+       Move the lstat() declaration to <sys/stat.h>.
+       * lib/lstat.h: Remove file.
+       * lib/sys_stat.in.h: Add special invocation convention.
+       (lstat): New declaration.
+       * lib/lstat.c (orig_lstat): New function.
+       (rpl_lstat): Use orig_lstat instead of lstat.
+       * m4/lstat.m4 (gl_FUNC_LSTAT): Require gl_SYS_STAT_H_DEFAULTS and
+       AC_C_INLINE. Set REPLACE_LSTAT.
+       * m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Initialize GNULIB_LSTAT
+       and REPLACE_LSTAT.
+       * modules/lstat (Files): Remove lib/lstat.h.
+       (configure.ac): Invoke gl_SYS_STAT_MODULE_INDICATOR.
+       (Include): Specify <sys/stat.h> instead of lstat.h.
+       * modules/sys_stat (Makefile.am): Substitute GNULIB_LSTAT and
+       REPLACE_LSTAT.
+       * NEWS: Mention the change.
+
+2008-10-20  Bruno Haible  <bruno@clisp.org>
+
+       * modules/posix_spawn-tests: New file.
+       * tests/test-posix_spawn3.c: New file.
+
 2008-10-20  Bruno Haible  <bruno@clisp.org>
 
        * modules/posix_spawnp-tests (Depends-on): Add sys_wait.