Correct the va_copy definition for AIX 5.
[gnulib.git] / ChangeLog
index 36e7e06..758d954 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,287 @@
+2008-03-10  Peter O'Gorman  <bug-gnulib@mlists.thewrittenword.com>
+            Bruno Haible  <bruno@clisp.org>
+
+       Make va_copy work with some version of xlc on AIX 5.1.
+       * lib/stdarg.in.h: New file.
+       * m4/stdarg.m4 (gl_STDARG_H): Initialize STDARG_H and NEXT_STDARG_H.
+       On AIX, use a <stdarg.h> file substitute.
+       * modules/stdarg (Files): Add lib/stdarg.in.h.
+       (Depends-on): Add include_next.
+       (Makefile.am): Build a stdarg.h substitute if requested.
+       * doc/posix-functions/va_copy.texi: Document the platforms lacking it.
+
+2008-03-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Document a restriction.
+       * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise.
+       Reported by Peter O'Gorman <bug-gnulib@mlists.thewrittenword.com>.
+
+2008-03-10  Bruno Haible  <bruno@clisp.org>
+
+       * modules/stdlib (Depends-on): Add include_next, remove
+       absolute-header.
+
+2008-03-09  Bruno Haible  <bruno@clisp.org>
+
+       * lib/freadahead.h (freadahead): Document more precisely.
+       * lib/freadahead.c (freadahead): When an ungetc is in effect, return
+       the sum of both buffer sizes.
+       * tests/test-freadahead.c (main): Also test behaviour after ungetc.
+       * NEWS: Document the change.
+
+2008-03-09  Bruno Haible  <bruno@clisp.org>
+
+       Extend freadptr to return also the buffer size.
+       * lib/freadptr.h (freadptr): Add sizep argument.
+       * lib/freadptr.c: Include freadptr.h, not freadahead.h.
+       (freadptr): Add sizep argument. Determine buffer size like freadahead
+       does.
+       * tests/test-freadptr.c: Don't include freadahead.h.
+       (main): Adapt for new calling convention of freadptr.
+       * tests/test-freadptr2.c: New file, based on tests/test-freadahead.c.
+       * tests/test-freadptr2.sh: New file, based on tests/test-freadahead.sh.
+       * modules/freadptr-tests (Files): Add tests/test-freadptr2.c,
+       tests/test-freadptr2.sh.
+       (Depends): Remove freadahead.
+       (TESTS): Add test-freadptr2.sh.
+       (check_PROGRAMS): Add test-freadptr2.
+
+2008-03-09  Bruno Haible  <bruno@clisp.org>
+
+       * doc/Makefile (%.pdf): Explain how to remedy the save_size error.
+       Report and solution by Simon Josefsson.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       Make fflush after ungetc work on BSD platforms.
+       * lib/fflush.c (rpl_fflush): Discard ungetc buffer if possible.
+       * tests/test-fflush2.c: New file.
+       * tests/test-fflush2.sh: New file.
+       * modules/fflush-tests (Files): Add tests/test-fflush2.sh,
+       tests/test-fflush2.c.
+       (Makefile.am): Build test-fflush2 and run test-fflush2.sh.
+       * doc/posix-functions/fflush.texi: Document fflush after ungetc bug.
+
+2008-03-06  Eric Blake  <ebb9@byu.net>
+
+       Likewise for ftello.
+       * modules/ftello (Dependencies): Add extensions.
+       * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fseeko (Dependencies): Add extensions.
+       * m4/fseeko.m4 (gl_FUNC_FSEEKO): Require AC_USE_SYSTEM_EXTENSIONS.
+       Needed on glibc systems.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (@nosuchmodulenote): Avoid line break inside
+       email address.
+       Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * users.txt: Add libgnupdf.
+
+2008-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>  (tiny change)
+
+       * doc/gnulib-tool.texi (@nosuchmodulenote): New macro.
+       (Header File Substitutes, Function Substitutes,
+       Glibc Header File Substitutes, Glibc Function Substitutes): Use it.
+       (Build robot for gnulib): Fix typo.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (VCS Issues): Small updates.
+       Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * doc/func.texi: New file, extracted from doc/gnulib.texi.
+       * doc/gnulib.texi: Include it.
+
+2008-03-06  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/func (License): Change license to unlimited; there was
+       no LGPL parts in the module anyway.
+
+2008-03-06  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/__func__: Renamed to modules/func.
+       * modules/__func__-tests: Renamed to modules/func-tests.
+       * tests/test-__func__.c: Renamed to tests/test-func.c.
+       * m4/__func__.m4: Renamed to m4/func.m4.
+       * doc/gnulib.texi (__func__): Section renamed to func.
+       Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-06  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/gnulib.texi (__func__): Use C99 terminology when talking
+       about __func__.  Make example self-contained.  Suggested by Eric
+       Blake <ebb9@byu.net>.
+
+       * tests/test-__func__.c (main): Avoid extraneous () around __func.
+       Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-06  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/__func__: New file.
+       * modules/__func__-tests: New file.
+       * tests/test-__func__.c: New file.
+       * m4/__func__.m4: New file.
+       * doc/gnulib.texi (__func__): Document __func__ module.
+
+2008-03-05  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/byteswap (License): Re-license as LGPLv2+.
+
+2008-03-05  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/Makefile: Add pdf target.
+
+2008-03-05  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/inline (License): Use 'unlimited', since there are only
+       *.m4 files in this module.
+
+2008-03-03  John E. Malmberg  <wb8tyw@qsl.net>  (tiny change)
+           Bruno Haible  <bruno@clisp.org>
+
+       Add support for HP C 7.1 on OpenVMS 8.3.
+       * lib/alloca.in.h (alloca): Define as alias for DEC C on VMS.
+
+2008-03-03  John E. Malmberg  <wb8tyw@qsl.net>  (tiny change)
+
+       Update VMS specifics.
+       * lib/getopt.c [VMS]: Remove include of unixlib.h.
+
+2008-03-02  Jim Meyering  <meyering@redhat.com>
+
+       Remove the last dependency on the "free" module.
+       * m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE.
+       Reported by Bob Proulx.
+
+       * 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
+       * build-aux/bootstrap (update_po_files): Copy a .po file into place
+       also when the target doesn't exist.
+
+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.
+       * lib/memchr2.h: Likewise.
+       * lib/memchr2.c: Likewise, based on memchr.c.
+       * tests/test-memchr2.c: New test.
+       * MODULES.html.sh (String handling): Add memchr2.
+
+2008-02-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/freadseek-tests: New file.
+       * tests/test-freadseek.sh: New file.
+       * tests/test-freadseek.c: New file.
+
+       New module 'freadseek'.
+       * modules/freadseek: New file.
+       * lib/freadseek.h: New file.
+       * lib/freadseek.c: New file.
+       * MODULES.html.sh (File stream based Input/Output): Add freadseek.
+
+2008-02-29  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * users.txt: Add anubis, cpio, mailfromd, mailutils, radius,
+       wydawca.
+
+       * m4/argp.m4 (gl_ARGP): Use AC_TRY_LINK to test if
+       program_invocation_name and program_invocation_short_name are
+       present.
+
+2008-02-28  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-freadptr.c: Add a test for behaviour after ungetc.
+       * tests/test-freadptr.sh: Also test non-seekable stdin.
+
+2008-02-28  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * build-aux/bootstrap (source_base, m4_base)
+       (doc_base, tests_base): New variables.
+       (gnulib_tool_options): Do not hardcode base directories, use
+       the above variables instead.
+
+2008-02-28  Atsushi SAKAI  <sakaia@jp.fujitsu.com>
+
+       * lib/xsize.h: Fix typo in comment: s/tupe/type/.
+
+2008-02-28  Bruno Haible  <bruno@clisp.org>
+
+       * modules/freadptr-tests: New file.
+       * tests/test-freadptr.sh: New file.
+       * tests/test-freadptr.c: New file.
+
+       New module 'freadptr'.
+       * modules/freadptr: New file.
+       * lib/freadptr.h: New file.
+       * lib/freadptr.c: New file.
+       * MODULES.html.sh (File stream based Input/Output): Add freadptr.
+
+2008-02-26  Karl Berry  <karl@freefriends.org>
+
+       Sync from Libtool:
+       * libltdl/argz.c (argz_add, argz_count): New functions.
+       * libltdl/argz.in.h: Declare them.
+       Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
+
+2008-02-22  Bruno Haible  <bruno@clisp.org>
+
+       * m4/time_r.m4 (gl_TIME_R): Also check that localtime_r's return type
+       is a pointer type.  Needed for HP-UX 10.
+       * doc/posix-functions/localtime_r.texi: Mention HP-UX 10.
+       * doc/posix-functions/gmtime_r.texi: Likewise.
+       Reported by Peter O'Gorman <bug-gnulib@mlists.thewrittenword.com>.
+
 2008-02-24  Bruno Haible  <bruno@clisp.org>
 
+       * modules/environ-tests: New file.
+       * tests/test-environ.c: New file.
+
        New module 'environ'.
        * modules/environ: New file.
        * lib/unistd.in.h (environ): New declaration.