NEWS.stable: log cherry-pick [d1fa59e]->[e238a25] strtoimax, strtoumax: Document...
[gnulib.git] / ChangeLog
index 59b1b4b..0b12001 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,126 @@
+2011-09-01  Bruno Haible  <bruno@clisp.org>
+
+       strtoimax, strtoumax: Document problem on HP-UX 11.
+       * doc/posix-functions/strtoimax.texi: Mention HP-UX 11.11 problem.
+       * doc/posix-functions/strtoumax.texi: Likewise.
+
+2011-09-01  Bruno Haible  <bruno@clisp.org>
+
+       strtoumax: Avoid link error on OSF/1 with DTK cc.
+       * m4/strtoumax.m4 (gl_FUNC_STRTOUMAX): Always test whether strtoumax is
+       defined as a function.
+       * modules/strtoumax (Depends-on, configure.ac): Test only whether
+       strtoumax is defined, not whether it is declared.
+
+2011-09-01  Bruno Haible  <bruno@clisp.org>
+
+       strtoimax: Avoid link error on OSF/1 with DTK cc.
+       * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Always test whether strtoimax is
+       defined as a function.
+       * modules/strtoimax (Depends-on, configure.ac): Test only whether
+       strtoimax is defined, not whether it is declared.
+
+2011-09-01  Bruno Haible  <bruno@clisp.org>
+
+       imaxdiv: Avoid link error on OSF/1 with DTK cc.
+       * m4/imaxdiv.m4 (gl_FUNC_IMAXDIV): Also test whether imaxdiv is defined
+       as a function.
+       * modules/imaxdiv (configure.ac): Test whether imaxdiv is defined, not
+       whether it is declared.
+
+2011-09-01  Bruno Haible  <bruno@clisp.org>
+
+       imaxabs: Avoid link error on OSF/1 with DTK cc.
+       * m4/imaxabs.m4 (gl_FUNC_IMAXABS): Also test whether imaxabs is defined
+       as a function.
+       * modules/imaxabs (configure.ac): Test whether imaxabs is defined, not
+       whether it is declared.
+
+2011-09-01  Bruno Haible  <bruno@clisp.org>
+
+       pthread: Determine $(LIB_PTHREAD) correctly on IRIX 6.5.
+       * m4/pthread.m4 (gl_PTHREAD_CHECK): Check for pthread_join, not
+       pthread_create.
+
+2011-09-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       openat: work around AIX 7.1 fstatat issue
+       This should fix the problem that was not properly fixed
+       in the previous change, dated 2011-08-30.
+       * lib/fstatat.c: Include <sys/stat.h> twice, the first with
+       __need_system_stat_h defined.
+       (orig_fstatat) [HAVE_FSTATAT]: New function.
+       (rpl_fstatat): Go back to the old way of doing things,
+       except call orig_fstatat instead of fstatat.
+       * m4/openat.m4 (gl_FUNC_FSTATAT): Remove unnecessary check for openat.
+       Remove unnecessary check whether fstatat fills in st_size etc.
+
+2011-09-01  Bruno Haible  <bruno@clisp.org>
+
+       sys_select: Avoid a syntax error regarding timespec_t on IRIX 6.5.
+       * lib/sys_select.in.h [__sgi]: When included from <sys/bsd_types.h>,
+       just include the system's header.
+
+2011-08-31  Jim Meyering  <meyering@redhat.com>
+
+       tests: avoid spurious assertion failure in test-float.c on ppc64
+       * tests/test-float.c (test_long_double): Comment out an assertion,
+       LDBL_MIN_EXP <= DBL_MIN_EXP, that is failing at least on PowerPC-64
+       with gcc-4.4.4.
+
+2011-08-31  Bruno Haible  <bruno@clisp.org>
+
+       freopen: Documentation.
+       * doc/posix-functions/freopen.texi: Document the bug with the NULL file
+       name.
+       Reported by Claudio Bley <claudio.bley@gmail.com>.
+
+2011-08-31  Claudio Bley  <claudio.bley@gmail.com>  (tiny change)
+
+       freopen: Don't crash if the filename argument is NULL.
+       * lib/freopen.c (rpl_freopen): Don't compare the filename if it is
+       NULL.
+
+2011-08-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       openat: work around AIX 7.1 fstatat bug
+       Problem reported by Kevin Brott for GNU tar, in the thread containing
+       <http://lists.gnu.org/archive/html/bug-tar/2011-08/msg00015.html>.
+       * lib/fstatat.c (rpl_fstatat): Do not invoke underlying fstatat if
+       FSTATAT_ST_SIZE_ETC_BROKEN.
+       (fstatat) [FSTATAT_ST_SIZE_ETC_BROKEN && HAVE_FSTATAT]: #define to
+       rpl_fstatat.
+       * m4/openat.m4 (gl_FUNC_FSTATAT): New macro, with the fstatat-relevant
+       part of gl_FUNC_OPENAT.  Also, check for the AIX 7.1 bug, and use
+       AC_CHECK_FUNCS_ONCE for fstatat.
+       (gl_FUNC_OPENAT): Use it.  Use AC_CHECK_FUNCS_ONCE for
+       fchmodat, mkdirat, openat and unlinkat.
+
+2011-08-30  Bruno Haible  <bruno@clisp.org>
+
+       Avoid endless recursions if config.h includes some header files.
+       * lib/fopen.c (__need_FILE): Define already before including config.h.
+       * lib/freopen.c (__need_FILE): Likewise.
+       * lib/open.c (__need_system_fcntl_h): Likewise.
+       * lib/stat.c (__need_system_sys_stat_h): Likewise.
+       * lib/lstat.c (__need_system_sys_stat_h): Likewise.
+       Reported by Michael Goffioul <michael.goffioul@gmail.com>.
+
+2011-08-25  Karl Berry  <karl@gnu.org>
+
+       * config/srclist.txt (ylwrap): new try.
+       * build-aux/ylwrap: new file.
+
+2011-08-23  Bruno Haible  <bruno@clisp.org>
+
+       tmpdir: Use a good default directory on native Windows.
+       * lib/tmpdir.c: Include <windows.h>, pathmax.h.
+       (P_tmpdir): Default to _P_tmpdir on native Windows.
+       (path_search): On native Windows, try the value returned by GetTempPath
+       before trying P_tmpdir.
+       * modules/tmpdir (Depends-on): Add pathmax.
+       Suggested by John Darrington <john@darrington.wattle.id.au>.
+
 2011-08-20  Reuben Thomas  <rrt@sc3d.org>
 
        doc: fix typo in README-release