Override the gethostname() declaration on native Windows systems.
[pspp] / ChangeLog
index 0dca26b48c3d6d17e98e8e4e4a903f11bb1ab9f9..8eb9366b9704e1a5b2f71ad8924ed7b0f6245728 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,114 @@
+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+.
+       Suggested by Simon Josefsson.
+
+2008-10-23  Jim Meyering  <meyering@redhat.com>
+
+       random_r: new module
+       * modules/random_r: New file.
+       * m4/random_r.m4: New file.
+       * lib/random_r.c: New file, from glibc.
+       * modules/random_r-tests: New file.
+       * tests/test-random_r.c: New file.
+       * lib/stdlib.in.h (srandom_r, initstate_r, setstate_r, random_r):
+        Declare.
+       (RAND_MAX): Define.
+       * m4/stdlib_h.m4: Define and AC_SUBST GNULIB_RANDOM_R and HAVE_RANDOM_R.
+       * modules/stdlib: Substitute them, too.
+       * MODULES.html.sh (Extra functions based on POSIX:2001) [Misc]: Add it.
+       * doc/glibc-functions/initstate_r.texi: Mention the new module.
+       * doc/glibc-functions/random_r.texi: Likewise.
+       * doc/glibc-functions/setstate_r.texi: Likewise.
+       * doc/glibc-functions/srandom_r.texi: Likewise.
+       * config/srclist.txt: Mention it.
+
+2008-10-23  David Lutterkort  <lutter@redhat.com>
+
+       * modules/selinux-h: Search for LIB_SELINUX and mark it as a
+       link requirement
+
+2008-10-23  Jim Meyering  <meyering@redhat.com>
+
+       selinux-h: mark parameters of stub functions as intentionally unused
+       * lib/se-selinux.in.h: Mark parameters as _UNUSED_PARAMETER_.
+       * lib/se-context.in.h: Likewise.
+
+2008-10-22  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sys_socket.in.h (FD_ISSET): Fix warnings under mingw.
+
+2008-10-22  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/getgroups.m4: Avoid invoking test with wrong parameters.
+
 2008-10-22  Eric Blake  <ebb9@byu.net>
 
        glthread/thread: avoid compiler warning