Override the gethostname() declaration on native Windows systems.
[pspp] / ChangeLog
index f966f79c3993240ad05aec5ee0fbc941e4961f26..8eb9366b9704e1a5b2f71ad8924ed7b0f6245728 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,70 @@
+2008-10-25  Ben Pfaff  <blp@cs.stanford.edu>
+            Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistd.in.h: Include <winsock2.h>.
+       (socket, connect,accept, bind, getpeername, getsockname, getsockopt,
+       listen, recv, send, recvfrom, sendto, setsockopt, shutdown, select):
+       Provide dummy declarations.
+       (gethostname): Override.
+       * lib/sys_socket.in.h (gethostname): Provide dummy declaration.
+       * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Invoke
+       gl_PREREQ_SYS_H_WINSOCK2.
+       * modules/gethostname (Files): Add m4/sys_socket_h.m4.
+       * doc/posix-functions/gethostname.texi: More details.
+
+2008-10-25  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sys_socket_h.m4 (gl_PREREQ_SYS_H_WINSOCK2): Require
+       gl_UNISTD_H_DEFAULTS, gl_SYS_IOCTL_H_DEFAULTS only if they exist.
+       * modules/sys_socket (Files): Remove m4/unistd_h.m4, m4/sys_ioctl_h.m4.
+
+       * lib/sys_socket.in.h (HAVE__GL_CLOSE_FD_MAYBE_SOCKET); Move macro from
+       here ...
+       * lib/unistd.in.h (HAVE__GL_CLOSE_FD_MAYBE_SOCKET); ... to here.
+       * m4/sys_socket_h.m4 (gl_SYS_SOCKET_H_DEFAULTS): Remove invocation of
+       gl_UNISTD_H_DEFAULTS.
+       
+2008-10-25  Eric Blake  <ebb9@byu.net>
+
+       signbit: avoid spurious compiler failure
+       * m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): Move non-constant
+       declarations inside function.
+
+2008-10-24  Simon Josefsson  <simon@josefsson.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdlib.in.h (@GNULIB_RANDOM_R@): Include stdint.h.
+       * modules/random_r (Depends-on): Add stdint.
+
+2008-10-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/intprops (License): Change to LGPLv2+, with approval by Paul
+       Eggert.
+       * modules/strerror (License): Likewise.
+
+2008-10-24  Jim Meyering  <meyering@redhat.com>
+
+       sys_socket: fix typo that inhibited expansion of @GNULIB_SEND@
+       * modules/sys_socket (Depends-on) [Depends-on]: Fix typo.
+
+2008-10-24  Eric Blake  <ebb9@byu.net>
+
+       getgroups: fix compilation when getgroups is available
+       * lib/getgroups.c (includes): Include <unistd.h> for getgroups,
+       but with <config.h> override of getgroups disabled.
+
+2008-10-24  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/gnulib.texi (Header files): Add note about C++ problems.
+       Explained by Bruno Haible <bruno@clisp.org>.
+
+2008-10-23  Bruno Haible  <bruno@clisp.org>
+
+       Define a dummy SA_NODEFER macro on Interix.
+       * lib/signal.in.h (SA_NODEFER): Define fallback.
+       Reported by Aleksey Cheusov <cheusov@tut.by> via
+       Thomas Klausner <wiz@netbsd.org> and Eric Blake.
+
 2008-10-23  Bruno Haible  <bruno@clisp.org>
 
        * modules/freadahead (License): Change to LGPLv2+.