readline: Check for readline/history.h.
[gnulib.git] / ChangeLog
index 68c90de..8738d35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,48 @@
+2011-11-19  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/readline.m4 (gl_FUNC_READLINE): Check for readline/history.h.
+
+2011-11-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       test-getcwd: disambiguate exit status
+       * tests/test-getcwd.c (test_long_name): Return 0..7.
+       (main): Exit with an unambiguous exit status.  The old
+       code yielded a mysterious mixture of two failure codes.
+
+       fstatat: fix configuration bug on mingw, OpenBSD 4, Solaris 8
+       * lib/fstatat.c (AT_FUNC_NAME): Use HAVE_FSTAT, not
+       HAVE_WORKING_FSTATAT_ZERO_FLAG, to decide whether to define
+       rpl_fstatat or fstatat.  This should fix the other problem
+       reported by Kai Habel in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00237.html>.
+       A similar problem was reported for OpenBSD 4.6 by Mats Erik Andersson
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00239.html>
+       and I reproduced it on a Solaris 8 host we still have in production.
+
+2011-11-18  Jim Meyering  <meyering@redhat.com>
+
+       hash: deprecate poorly-named hash_insert0: use hash_insert_if_absent
+       * lib/hash.c (hash_insert_if_absent): Rename from hash_insert0.
+       Add a sentence to the comment.
+       (hash_insert0): New function that simply calls hash_insert_if_absent.
+       * lib/hash.h (hash_insert_if_absent): Declare it.
+       (hash_insert0): Add deprecation attribute.
+       (_GL_ATTRIBUTE_DEPRECATED): Define.
+       * lib/di-set.c (di_set_insert): Use hash_insert_if_absent,
+       not hash_insert0.
+       * NEWS: Mention it, even though it's not really an incompatible change.
+
+2011-11-18  Dagobert Michelsen  <dam@opencsw.org>  (tiny change)
+
+       openat: avoid compilation failure due to lack of <errno.h> inclusion
+       * lib/openat.c: Include <errno.h>.
+
 2011-11-17  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * modules/getcwd (Depends-on): Add fdopendir.
+       This fixes one of the two problems reported by Kai Habel in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00237.html>.
+
        modules/crypto/gc-*: simplify dependencies and fix stdalign.h bug
        stdalign problem reported by Ian Beckwith in
        <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00238.html>.