stat: use pathmax.h only if needed
[gnulib.git] / ChangeLog
index e73f7d4..72bd11e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,71 @@
+2011-09-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stat: use pathmax.h only if needed
+       * lib/stat.c: Include pathmax.h only if REPLACE_FUNC_STAT_DIR.
+       This is better for Emacs, which does not have a mingw port and
+       therefore can avoid the pathmax module.
+
+       utimens: remove dependency on dup2
+       * lib/utimens.c (fdutimens): Don't invoke dup2; it's not needed
+       to work around the Linux kernel bug.
+       * modules/utimens (Depends-on): Remove dup2.
+
+2011-09-18  Bruno Haible  <bruno@clisp.org>
+
+       inet_ntop, inet_pton: Look for it also in libresolv.
+       * m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): If the function was not found in
+       libnsl, search for it in libresolv.
+       * m4/inet_pton.m4 (gl_FUNC_INET_PTON): Likewise.
+       Needed on Solaris 7.
+
+2011-09-18  Bruno Haible  <bruno@clisp.org>
+
+       accept, accept4 tests: Avoid link error on Solaris.
+       * modules/accept-tests (Makefile.am): Link test-accept against
+       $(LIBSOCKET).
+       * modules/accept4-tests (Makefile.am): Link test-accept4 against
+       $(LIBSOCKET).
+
+       accept4: Avoid link error on Solaris.
+       * modules/accept4 (Link): New section.
+
+       socket functions: Avoid link errors on Solaris.
+       * modules/accept (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/bind (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/connect (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/getpeername (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/getsockname (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/getsockopt (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/listen (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/recv (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/recvfrom (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/send (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/sendto (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/setsockopt (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/shutdown (Depends-on): Add socketlib.
+       (Link): New section.
+       * modules/socket (Depends-on): Add socketlib.
+       (Link): New section.
+
+2011-09-18  Bruno Haible  <bruno@clisp.org>
+
+       ptsname tests: Let the test fail rather than hang (e.g. on AIX 5.1).
+       * tests/test-ptsname.c (main): Terminate the test if it takes longer
+       than 5 seconds.
+       * modules/ptsname-tests (configure.ac): Test for alarm.
+
 2011-09-18  Bruno Haible  <bruno@clisp.org>
 
        posix_spawn_file_actions_add*: Fix module dependencies.