strerror_r-posix: Respect rules for use of AC_LIBOBJ.
[pspp] / ChangeLog
index 86a9cb078ddf344674f13a821f9ac2a789a61140..1f0ac8b198b72fe89d13626bd173b9ab5b16ced2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,77 @@
+2011-05-24  Bruno Haible  <bruno@clisp.org>
+
+       strerror_r-posix: Respect rules for use of AC_LIBOBJ.
+       * m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Move AC_LIBOBJ and
+       gl_PREREQ_STRERROR_R invocations from here...
+       * modules/strerror_r-posix (configure.ac): ... to here.
+
+2011-05-24  Eric Blake  <eblake@redhat.com>
+
+       strerror_r: fix missing header
+       * lib/strerror_r.c: Avoid compiler warning about snprintf.
+
+       strerror_r: fix AIX test failures
+       * lib/strerror_r.c (strerror_r): Convert silent truncation to
+       ERANGE failure.
+
+       strerror_r: fix Solaris test failures
+       * lib/strerror_r.c (strerror_r): Partially populate buf on ERANGE
+       failures.
+       * doc/posix-functions/strerror_r.texi (strerror_r): Document this.
+
+       strerror_r: enforce POSIX recommendations
+       * lib/strerror_r.c (safe_copy): New helper method.
+       (strerror_r): Guarantee a non-empty string.
+       * tests/test-strerror_r.c (main): Enhance tests to incorporate
+       recent POSIX rulings and to match our strerror guarantees.
+       * doc/posix-functions/strerror_r.texi (strerror_r): Document this.
+
+2011-05-24  Jim Meyering  <meyering@redhat.com>
+
+       test-perror2.c: avoid warning about unused variable
+       * tests/test-perror2.c (main): Remove declaration of unused "fp".
+
+2011-05-24  Eric Blake  <eblake@redhat.com>
+
+       perror: avoid spurious test failure on HP-UX
+       * tests/test-perror.sh: Use Exit to avoid wrong exit status.
+
+       tests: fix logic bug in init.sh
+       * tests/init.sh: (gl_set_x_corrupts_stderr_): Clear for successful
+       shell.
+
+2011-05-24  Jim Meyering  <meyering@redhat.com>
+
+       utimensat: do not reference an out-of-scope buffer
+       Otherwise, with __linux__ defined, "times" would point to a buffer, "ts"
+       declared in an inner scope, yet "times" would be dereferenced outside
+       the scope in which "ts" was valid.
+       * lib/utimensat.c (rpl_utimensat) [__linux__]: Move the declaration
+       of ts[2] "out/up", so that the use of aliased "times" (via
+       "times = ts;") does not end up referencing an out-of-scope "ts"
+
+       opendir-safer.c: don't clobber errno; don't close negative FD
+       * lib/opendir-safer.c (opendir_safer):
+       [HAVE_FDOPENDIR || GNULIB_FDOPENDIR]: Don't close a negative
+       file descriptor, and more importantly, don't clobber the
+       offending errno value with EINVAL.  Before, upon failure
+       of dup_safer, we would pass the negative file descriptor to
+       fdopendir, which would clobber errno.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+       idcache: Fix module description.
+       * modules/idcache (Include): Set to "idcache.h".
+
+2011-05-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       gnulib-tool: fix portability problem with MacOS sed
+       A sed command like "/x/{s/a/b/}" is not portable; a newline is needed
+       before the "}".  Problem reported by Leo in
+       <http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00717.html>.
+       * gnulib-tool (func_modules_transitive_closure): Insert newlines in
+       sed_extract_condition1, sed_extract_condition2.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
        hash: Simplify autoconf macro.