Move getline and getdelim into stdio.h, per POSIX 200x.
[pspp] / ChangeLog
index 6c3aeb5172a81b22799097d2c82788730a649a08..b3e22bab33bf0edd0609875f473e2b87979f0576 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,118 @@
+2007-08-22  Eric Blake  <ebb9@byu.net>
+
+       Move getline and getdelim into stdio.h, per POSIX 200x.
+       * modules/getline (Files): Remove getline.h.
+       (Depends-on): Add stdio.
+       (configure.ac): Add module indicator.
+       * modules/getdelim (Files): Remove getdelim.h.
+       (Depends-on): Add stdio.
+       (configure.ac): Add module indicator.
+       * modules/stdio (Makefile.am): Work with new indicators.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add new defaults.
+       * m4/getdelim.m4 (gl_FUNC_GETDELIM): Work with stdio needs.
+       * m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
+       * lib/getdelim.h: Delete.
+       * lib/getline.h: Delete.
+       * lib/stdio_.h (getdelim, getline): Declare.
+       * modules/getdelim-tests: New module.
+       * modules/getline-tests: Likewise.
+       * tests/test-getdelim.c: New file.
+       * tests/test-getline.c: Likewise.
+       * NEWS: Document the change.
+       * lib/getline.c: Update choice of header.
+       * lib/csharpcomp.c: Likewise.
+       * lib/getpass.c: Likewise.
+       * lib/javacomp.c: Likewise.
+       * lib/javaversion.c: Likewise.
+       * lib/yesno.c: Likewise.
+       * lib/getdelim.c: Likewise.
+       (getdelim): Set errno on failure, and avoid memory leak.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/closein (Depends-on): Add freadahead.
+       * lib/closein.c: Include freadahead.h.
+       (close_stdin): Skip the fseeko and fflush calls if freadahead(stdin)
+       is zero.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/freadahead-tests: New file.
+       * tests/test-freadahead.sh: New file.
+       * tests/test-freadahead.c: New file.
+
+       * modules/freadahead: New file.
+       * lib/freadahead.h: New file.
+       * lib/freadahead.c: New file.
+       * MODULES.html.sh (File stream based Input/Output): Add freadahead,
+       fbufmode, fpurge, freadable, fwritable.
+
+2007-08-19  Eric Blake  <ebb9@byu.net>
+
+       Test yesno in combination with closein.
+       * lib/yesno.c (yesno): Document use of stdin.
+       * modules/yesno-tests (Files): New module.
+       * tests/test-yesno.c (main): New file.
+       * tests/test-yesno.sh: Likewise.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fbufmode.c (fbufmode): Add tentative support for Solaris/AMD64.
+       * lib/fseeko.c (rpl_fseeko): Likewise.
+       * lib/fseterr.c (fseterr): Likewise.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-lseek.c (main): Disable a test for BeOS.
+       * doc/functions/lseek.texi: Document the BeOS bug.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+            Eric Blake  <ebb9@byu.net>
+
+       * lib/lseek.c: Include <sys/stat.h>.
+       (rpl_lseek): Add workaround code also for Unix platforms.
+       Needed for BeOS.
+       * m4/lseek.m4 (gl_FUNC_LSEEK): When cross-compiling, fail on BeOS.
+       * doc/functions/lseek.texi: Document BeOS definiency.
+
+2007-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fstrcmp-tests: New file.
+       * tests/test-fstrcmp.c: New file.
+
+2007-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fstrcmp: New file, from GNU gettext with modifications.
+       * lib/fstrcmp.h: New file, from GNU gettext.
+       * lib/fstrcmp.c: New file, from GNU gettext.
+       * MODULES.html.sh (String handling): Add fstrcmp.
+
+2007-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/diffseq.h (struct context): Change type of 'heuristic' field to
+       'bool'.
+       (diag, compareseq): Remove const from the ctxt argument.
+       (USE_HEURISTIC): Undefine at the end.
+
+2007-08-18  Jim Meyering  <jim@meyering.net>
+
+       New file: lib/idcache.h
+       * NEWS: Mention the addition.
+       * modules/idcache (Files): Add lib/idcache.h
+       * lib/idcache.c: Include "idcache.h".
+       Don't include <sys/types.h>.
+       Add a FIXME comment.
+       Move file-scoped "static" declarations to the top.
+       * lib/idcache.h: New file.  Include <sys/types.h> here, instead.
+
+2007-08-17  Bruno Haible  <bruno@clisp.org>
+       and Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh: Add diffseq.
+       * modules/diffseq: New file.
+       * lib/diffseq.h: New file, from GNU gettext with a few minor changes,
+       extracted from GNU gettext's fstrcmp.c and GNU diff's analyze.c.
+
 2007-08-15  Paul Eggert  <eggert@cs.ucla.edu>
 
        Import changes from coreutils for bootstrap script.