lib/getdelim.c (getdelim): Don't leak memory upon failed realloc.
[gnulib.git] / ChangeLog
index 01f0361..29dc04a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,34 @@
+2008-03-02  Jim Meyering  <meyering@redhat.com>
+
+       * lib/getdelim.c (getdelim): Don't leak memory upon failed realloc.
+
+       Remove useless "if" tests before free.  Deprecate "free" module.
+       * doc/posix-functions/free.texi: Mention that this
+       module is no longer useful.
+       * modules/free (Notice): Say this module is obsolete.
+       * modules/readutmp (Depends-on): Remove free.
+       * lib/save-cwd.c (free_cwd): Remove useless "if" before free.
+       * lib/putenv.c (putenv): Likewise.
+       * lib/gc-gnulib.c (gc_cipher_close): Likewise.
+       * lib/getaddrinfo.c (freeaddrinfo): Likewise.
+       * tests/test-c-strcasestr.c (main): Likewise.
+       * tests/test-c-strstr.c (main): Likewise.
+       * tests/test-mbscasestr1.c (main): Likewise.
+       * tests/test-mbscasestr2.c (main): Likewise.
+       * tests/test-mbsstr1.c (main): Likewise.
+       * tests/test-mbsstr2.c (main): Likewise.
+       * tests/test-memmem.c (main): Likewise.
+       * tests/test-strcasestr.c (main): Likewise.
+       * tests/test-striconv.c (main): Likewise.
+       * tests/test-striconveh.c (main): Likewise.
+       * tests/test-striconveha.c (main): Likewise.
+       * tests/test-strstr.c (main): Likewise.
+
+       * build-aux/git-version-gen: Adjust a comment and the Usage string.
+
+       bootstrap: sync from coreutils again
+       * build-aux/bootstrap: Remove dangling m4/*.m4 symlinks.
+
 2008-03-01  Jim Meyering  <meyering@redhat.com>
 
        bootstrap: sync from coreutils
@@ -6,6 +37,12 @@
 
 2008-03-01  Eric Blake  <ebb9@byu.net>
 
+       Fix bugs in last patch.
+       * lib/memchr2.c (memchr2): Fix typo.
+       * tests/test-memchr2.c: Test previous bug, and don't use GNU
+       extension.
+       Reported by Bruce Korb.
+
        New module 'memchr2'.
        * modules/memchr2: New file.
        * modules/memchr2-tests: Likewise.