Rename mreadlink_with_size to areadlink_with_size.
[gnulib.git] / ChangeLog
index 4d7c0dc..01d182e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,137 @@
+2007-08-28  Jim Meyering  <jim@meyering.net>
+
+       Rename mreadlink_with_size to areadlink_with_size.
+       * NEWS: Document the change.
+       * lib/mreadlink-with-size.c (mreadlink_with_size): Rename this to...
+       * lib/areadlink-with-size.c (areadlink_with_size): ...this.
+       * lib/mreadlink.h: Rename this to...
+       * lib/areadlink.h: ...this.
+       * modules/mreadlink-with-size: Rename this to...
+       * modules/areadlink-with-size: ...this.
+       * lib/canonicalize.c: Reflect the renaming.
+       * modules/canonicalize: Likewise.
+
+2007-08-26  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): When deciding which files to remove,
+       consider also dangling symbolic links.
+       Reported by Eric Blake.
+
+2007-08-26  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_ln_if_changed): Use "test -h", not "test -L".
+
+2007-08-23  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/readline.c: Don't include getline.h, the prototype is now
+       found in stdio.h.
+
+2007-08-23  Jim Meyering  <jim@meyering.net>
+
+       Getdelim touchup.
+       * lib/getdelim.c (getdelim): Don't bother to save/restore errno
+       around the funlockfile call, since funlockfile never sets errno.
+       Don't set errno upon failed realloc.
+
+2007-08-22  Eric Blake  <ebb9@byu.net>
+
+       Getline touchups.
+       * lib/getdelim.c (getdelim): Revert regression that required *n to
+       be 0 when *lineptr is NULL.  Preserve errno across funlockfile.
+       * m4/getdelim.m4 (gl_FUNC_GETDELIM): Check for declaration of
+       getdelim, rather than whether implementation is missing.
+       * m4/getline.m4 (gl_FUNC_GETLINE): Likewise for getline.
+       * lib/stdio_.h (getline): Also declare if replacement is
+       required.
+       * doc/functions/getdelim.texi: New file.
+       * doc/functions/getline.texi: Likewise.
+       * doc/gnulib.texi (Function Substitutes): Add new files.
+       Reported by Bruno Haible.
+
+2007-08-22  Ludovic Courtès  <ludo@gnu.org>
+
+       * users.txt: Add Guile.
+
+2007-08-22  Eric Blake  <ebb9@byu.net>
+
+       * tests/test-getdelim.c (main): Use remove, not unlink.
+       * tests/test-getline.c (main): Likewise.
+
+       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.