fflush: also replace fclose when fixing fflush
[gnulib.git] / ChangeLog
index a625b00..708fc8f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,53 @@
+2011-05-02  Eric Blake  <eblake@redhat.com>
+
+       fflush: also replace fclose when fixing fflush
+       * modules/fflush (Depends-on): Add fclose.
+       * m4/fflush.m4 (gl_FUNC_FFLUSH): Also replace fclose.
+       * lib/fclose.c (rpl_fclose): Don't cause spurious failures on
+       memstreams with no backing fd.
+       * doc/posix-functions/fclose.texi (fclose): Document the use of
+       fflush module to fix the bug.
+       * tests/test-fclose.c (main): Relax test when fclose is used in
+       isolation.
+
+       fclose: add some tests
+       * modules/fclose-tests: New test module.
+       * tests/test-fclose.c: New file.
+       * doc/posix-functions/fclose.texi (fclose): Document the bug.
+
+       fclose: reduced dependencies
+       * modules/fclose (Depends-on): Switch from fflush/fseeko to
+       simpler lseek.
+       * lib/fclose.c (rpl_fclose): Likewise.
+       Reported by Simon Josefsson.
+
+       exit: drop remaining clients
+       * modules/argmatch (Depends-on): Replace exit with stdlib.
+       * modules/copy-file (Depends-on): Likewise.
+       * modules/execute (Depends-on): Likewise.
+       * modules/exitfail (Depends-on): Likewise.
+       * modules/obstack (Depends-on): Likewise.
+       * modules/pagealign_alloc (Depends-on): Likewise.
+       * modules/pipe-filter-gi (Depends-on): Likewise.
+       * modules/pipe-filter-ii (Depends-on): Likewise.
+       * modules/savewd (Depends-on): Likewise.
+       * modules/spawn-pipe (Depends-on): Likewise.
+       * modules/wait-process (Depends-on): Likewise.
+       * modules/xsetenv (Depends-on): Likewise.
+       * modules/chdir-long (Depends-on): Add stdlib, for EXIT_FAILURE.
+       * modules/git-merge-changelog (Depends-on): Likewise.
+       * modules/long-options (Depends-on): Likewise.
+       * modules/pt_chown (Depends-on): Likewise.
+       * modules/sysexits (Depends-on): Likewise.
+
+       freading: relax license from LGPLv3+ to LGPLv2+
+       * modules/freading (License): Relax LGPL version.
+
+2011-05-02  Bruno Haible  <bruno@clisp.org>
+
+       fchdir: Remove unused dependencies.
+       * modules/fchdir (Depends-on): Remove include_next.
+
 2011-05-02  Bruno Haible  <bruno@clisp.org>
 
        gnulib-tool: Refactor.