tests/nap.h: avoid warning about unused variable
[gnulib.git] / ChangeLog
index 3576e7a..7e0129e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,52 @@
+2012-11-08  Jim Meyering  <jim@meyering.net>
+
+       tests/nap.h: avoid warning about unused variable
+       * tests/nap.h (nap_works): Remove now-unused declaration of "result".
+
+       prefix-gnulib-mk: avoid overzealous "lib/"-prefix addition
+       * build-aux/prefix-gnulib-mk (prefix): Tighten a regexp to require
+       white space before each of the special-cased file names, to avoid
+       adding "lib/" after $(libdir)/.  Reported by Matias A. fonzo
+       in http://bugs.gnu.org/12830.
+
+2012-11-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       fcntl-h: default O_SEARCH, O_EXEC back to O_RDONLY
+       O_PATH doesn't work with Linux kernel 3.6.5, as fchmod (fd, ...)
+       fails with errno == EBADF when fd is opened with O_PATH.
+       Reported by Jim Meyering in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2012-11/msg00026.html>.
+       * doc/posix-headers/fcntl.texi (fcntl.h): Document this.
+       * lib/fcntl.in.h (O_EXEC, O_SEARCH) [O_PATH]: Default back to O_RDONLY.
+
+2012-11-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       test-utimens: speed up by taking shorter naps
+       * tests/nap.h (lt_mtime, get_mtime, nap_works, guess_delay):
+       New functions.
+       (nap): Use them, to do a better job of guessing the delay.
+       On Fedora 17 with ext4 atop md atop hard disks, this made
+       test-utimens run 10x faster, because the test napped for
+       1 ms at a time rather than 20 ms.  Reported by Stefano Lattarini in
+       <http://bugs.gnu.org/12820#11>.
+
+2012-11-07  Jim Meyering  <jim@meyering.net>
+
+       mountlist.c: fix a compilation failure
+       * lib/mountlist.c (read_file_system_list): Fix a compilation failure
+       I introduced while transforming commit v0.0-7683-g613bcb6
+
+2012-11-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       errno: port to LynxOS 178 2.2.2
+       Problem reported by Joel Brobecker in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00088.html>.
+       * doc/posix-headers/errno.texi (errno.h): Document this.
+       * lib/errno.in.h (EILSEQ, GNULIB_defined_EILSEQ) [!EILSEQ]: New macros.
+       * lib/strerror-override.c, lib/strerror-override.h (strerror_override):
+       Supply a string for EILSEQ.
+       * m4/errno_h.m4 (gl_HEADER_ERRNO_H): Check for EILSEQ.
+
 2012-11-05  Paul Eggert  <eggert@cs.ucla.edu>
 
        fcntl-h: default O_SEARCH, O_EXEC to O_PATH if available