strerror_r-posix: Respect rules for use of AC_LIBOBJ.
[pspp] / ChangeLog
index b7be3f368e0b53829a521b54ecf672417a4e3ba0..1f0ac8b198b72fe89d13626bd173b9ab5b16ced2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,55 @@
+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