+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/striconveh.h (mem_iconveh, str_iconveh): Optimize the conversion
+ from UTF-8 to UTF-8//TRANSLIT in the same way as from UTF-8 to UTF-8.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Avoid failure when attempting to return empty iconv results on some
+ platforms.
+ * lib/striconveh.c (mem_cd_iconveh_internal): In the final memory
+ allocation, don't report ENOMEM when the resulting string is empty.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Fix buffer overrun.
+ * lib/vasnprintf.c (VASNPRINTF): If !USE_SNPRINTF && pad_ourselves:
+ Don't consider the width for tmp_length. Check count against tmp_length
+ before doing the padding. Ensure enough allocation during padding.
+
+2008-03-30 Eric Blake <ebb9@byu.net>
+
+ strtod touchups.
+ * lib/strtod.c (strtod): Avoid compiler warnings.
+ Reported by Jim Meyering.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/unistdio/u-vsprintf.h (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-u8-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-u16-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-u32-vsprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/unistdio/u-vsnprintf.h (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-u8-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-u16-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-u32-vsnprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/unistdio/u-vasprintf.h (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-u8-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-u16-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-u32-vasprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/unistdio/ulc-vfprintf.c (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-vfprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/unistdio/ulc-fprintf.c (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-fprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/xvasprintf.c (EOVERFLOW): Remove fallback.
+ * modules/xvasprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/vsprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vsprintf-posix (Depends-on): Add EOVERFLOW.
+
+ * lib/vsnprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vsnprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/vfprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vfprintf-posix (Depends-on): Add EOVERFLOW.
+
+ * lib/vasprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vasprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/vasnprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vasnprintf.m4 (gl_FUNC_VASNPRINTF): Drop gl_EOVERFLOW.
+ * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/ulc-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-u8-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-u16-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-u32-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+
+ * lib/sprintf.c (EOVERFLOW): Remove fallback.
+ * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/sprintf-posix (Depends-on): Add EOVERFLOW.
+
+ * lib/snprintf.c (EOVERFLOW): Remove fallback.
+ * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/snprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/poll.c (EOVERFLOW): Remove fallback.
+ * modules/poll (Depends-on): Add EOVERFLOW.
+
+ * lib/getugroups.c (EOVERFLOW): Remove fallback.
+ * modules/getugroups (Depends-on): Add EOVERFLOW.
+
+ * lib/getdelim.c (EOVERFLOW): Remove fallback.
+ * modules/getdelim (Depends-on): Add EOVERFLOW.
+
+ * lib/ftell.c (EOVERFLOW): Remove fallback.
+ * modules/ftell (Depends-on): Add EOVERFLOW.
+
+ * lib/fprintf.c (EOVERFLOW): Remove fallback.
+ * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/fprintf-posix (Depends-on): Add EOVERFLOW.
+
+ * lib/c-stack.c (EOVERFLOW): Remove unused fallback.
+
+ * modules/EOVERFLOW-tests: New file.
+ * tests/test-EOVERFLOW.c: New file.
+
+ * modules/EOVERFLOW: New file.
+ * doc/posix-headers/errno.texi: Mention EOVERFLOW portability problem.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Fix bug introduced on 2007-06-10.
+ * lib/vasnprintf.c (VASNPRINTF): When performing zero-padding, use
+ spaces instead of 0 digits for 's' also when ENABLE_UNISTDIO.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Improve freadseek's efficiency after ungetc.
+ * lib/freadseek.c: Include freadahead.h.
+ (freadptrinc): New function, extracted from freadseek.
+ (freadseek): Use it in a loop. Use freadahead to determine the number
+ of loop iterations.
+ * modules/freadseek (Depends-on): Add freadahead.
+ (configure.ac): Require AC_C_INLINE.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/freadseek.c (freadseek): Don't ignore the return value of
+ freadptr.
+
+2008-03-29 Eric Blake <ebb9@byu.net>
+
+ Add hex float support.
+ * modules/strtod (Depends-on): Add c-ctype.
+ (Link): Mention POW_LIB.
+ * lib/strtod.c (strtod): Recognize hex floats. Don't allow
+ whitespace between 'e' and exponent.
+ * tests/test-strtod.c (main): Enable hex float tests.
+ * doc/posix-functions/strtod.texi (strtod): Document what gnulib
+ now provides.
+
+ Document various strtod bugs, with some fixes.
+ * doc/posix-functions/strtod.texi (strtod): Document bugs with
+ "-0x", "inf", "nan", and hex constants.
+ * doc/posix-functions/atof.texi (atof): Likewise.
+ * modules/stdlib (Makefile.am): Support strtod.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Likewise.
+ * m4/strtod.m4 (gl_FUNC_STRTOD): Fit in stdlib framework, and
+ detect additional strtod bugs.
+ * lib/stdlib.in.h (rpl_strtod): Add declarations.
+ * lib/strtod.c (strtod): Return -0.0 on negative underflow. Use
+ bool where appropriate. Parse 'inf' and 'nan'.
+ * tests/test-strtod.c: New file.
+ * modules/strtod (Depends-on): Add stdbool, stdlib.
+ (configure.ac): Turn on module indicator.
+ * modules/strtod-tests: New module.
+
+2008-03-29 Eric Blake <ebb9@byu.net>
+
+ Fix ftell on mingw.
+ * lib/ftell.c (EOVERFLOW): Define if the system lacks it.
+ * modules/ftell-tests (Depends-on): Add binary-io.
+ * modules/ftello-tests (Depends-on): Likewise.
+ * tests/test-ftell.c (main): Enhance test to cover behavior after
+ ungetc. Enforce binary mode.
+ * tests/test-ftello.c (main): Likewise.
+
+ Pass test-freadseek on cygwin.
+ * modules/freadseek (Depends-on): Use freadptr, not freadahead.
+ * lib/freadseek.c (freadseek): Don't increment beyond bounds of
+ ungetc buffer.
+
+ * tests/test-fflush2.c (main): Fix typo.
+
+2008-03-29 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-fflush2.c (main): Temporarily disable the contents of
+ this test.
+ * m4/fflush.m4 (gl_FUNC_FFLUSH): Add a TODO.
+ Reported by Eric Blake.
+
+2008-03-28 Simon Josefsson <simon@josefsson.org>
+
+ * lib/gc.h (enum Gc_hash): Add GC_SHA224.
+ (GC_SHA224_DIGEST_SIZE): Add.
+
+ * lib/gc-libgcrypt.c (gc_hash_open): Handle SHA-224.
+ (gc_hash_digest_length): Likewise.
+ (gc_hash_buffer): Likewise.
+
+2008-03-25 Bruno Haible <bruno@clisp.org>
+
+ * doc/gnulib-tool.texi (gettextize and autopoint): Explain in more
+ detail which gettext release to use.
+ Reported by Simon Josefsson.
+
+2008-03-26 Jim Meyering <meyering@redhat.com>
+
+ gnumakefile: remove file from $(top_builddir), not from $(top_srcdir)
+ * modules/gnumakefile (clean-GNUmakefile): Also, use
+ test ... && ... || : syntax rather than if-then ... fi.
+
+ gnumakefile: Don't double-quote-expand $(VPATH) value.
+ * modules/gnumakefile (clean-GNUmakefile): Use single quotes.
+
+2008-03-24 Eric Blake <ebb9@byu.net>
+
+ Alter GNUmakefile to install into top directory.
+ * modules/maintainer-makefile: Split, and add dependency...
+ * modules/gnumakefile: to this new module.
+ * build-aux/GNUmakefile: Move...
+ * top/GNUmakefile: ...here.
+ * build-aux/maint.mk: Move...
+ * top/maint.mk: ...here.
+ * MODULES.html.sh (Support for maintaining...): Document new
+ module.
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool: New options --vc-files, --no-vc-files.
+ (func_usage): Document them.
+ (vc_files): New variable.
+ (func_import): Consider vc_files.
+ (func_create_testdir): Set vc_files to empty.
+ Suggested by Jim Meyering and Karl Berry.
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ Fix regex compilation error on HP-UX 11.
+ * m4/regex.m4 (gl_PREREQ_REGEX): Require AC_TYPE_MBSTATE_T.
+ * modules/regex (Files): Add m4/mbstate_t.m4.
+ Reported by Ton Voon <ton.voon@altinity.com>.
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ * doc/gnulib-tool.texi (gettextize and autopoint): New section.
+
+2008-03-23 Eric Blake <ebb9@byu.net>
+ Bruno Haible <bruno@clisp.org>
+
+ Install files from top/ in the destination directory.
+ * gnulib-tool (func_get_automake_snippet): Synthesize an EXTRA_DIST
+ augmentation also for the files from top/.
+ (func_import, func_create_testdir): Rewrite file names:
+ top/filename -> filename.
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ Tweak "gnulib --version" output.
+ * gnulib-tool (func_version): Replace "-dirty" suffix with "-modified".
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ Tweak "gnulib --version" output.
+ * gnulib-tool (func_version): Use date of last commit to ChangeLog,
+ rather than contents of ChangeLog, when possible.
+
+2008-03-21 Eric Blake <ebb9@byu.net>
+
+ More --version tweaks.
+ * gnulib-tool (func_version): Obey GNU Coding Standards. Output
+ date of last ChangeLog entry.
+
+2008-03-21 Jim Meyering <meyering@redhat.com>
+
+ * build-aux/GNUmakefile (_have-git-version-gen): Split long line.
+
+2008-03-20 Eric Blake <ebb9@byu.net>
+
+ VPATH fix.
+ * build-aux/GNUmakefile (_have_git-version-gen): Look in correct dir.
+
+2008-03-20 Simon Josefsson <simon@josefsson.org>
+
+ * build-aux/GNUmakefile: Make git-version-gen optional. Add
+ _build-aux variable. Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-20 Eric Blake <ebb9@byu.net>
+
+ Sync GNUmakefile with coreutils.
+ * build-aux/GNUmakefile (have-Makefile): Rename...
+ (_have-Makefile): ...to this, for namespace consideration.
+ (GNUmakefile.cfg): Include, if present.
+ (_autoreconf): Define a default.
+ (_is-dist-target): New rule for rebuilds to pick up intra-release
+ version.
+ (maint-cfg.mk): Rename...
+ (cfg.mk): ...to this.
+
+2008-03-18 Jim Meyering <meyering@redhat.com>
+
+ New script and module: mktempd
+ * MODULES.html.sh (maint+release support): Add mktempd.
+ * build-aux/mktempd: New file.
+ * modules/mktempd: New file.
+
+2008-03-15 Jim Meyering <meyering@redhat.com>
+
+ Undo last change.
+ * lib/sha1.c, lib/md5.c: 63 != ~63.
+ Reported by Andreas Schwab.
+
+ sha1.c, md5.c: Hoist a redundant expression.
+ * lib/sha1.c (sha1_process_bytes): AND-off the low bits in
+ "ctx->buflen" only once, before calling *_process_block.
+ * lib/md5.c (md5_process_bytes): Likewise.
+
+2008-03-14 Eric Blake <ebb9@byu.net>
+
+ Bump copyright year in files generated by gnulib-tool.
+ * gnulib-tool (func_emit_copyright_notice): Extract copyright from
+ gnulib-tool, rather than hard-coding it.
+
+ Fix 'gnulib-tool --version' output to work with git.
+ * gnulib-tool (func_gnulib_dir): New function, extracted from...
+ (startup): ...here.
+ (func_version): Use it to invoke git-version-gen, rather than
+ relying on CVS keyword expansion. Modernize wording.
+ (cvsdatestamp, last_checkin_date, version): Kill unused
+ variables.
+
+2008-03-12 Jim Meyering <meyering@redhat.com>
+
+ Recognize optional cast of the argument to free.
+ * build-aux/useless-if-before-free: Update regexps.
+
+ * build-aux/bootstrap (gnulib_tool): Remove trailing blanks.
+
+2008-03-11 Bruno Haible <bruno@clisp.org>
+
+ Extend AC_LIB_LINKFLAGS to the situation of several libraries provided
+ by a single package.
+ * m4/lib-link.m4 (AC_LIB_FROMPACKAGE): New macro.
+ (AC_LIB_LINKFLAGS_BODY): Use the information stored by
+ AC_LIB_FROMPACKAGE. Use AC_ARG_WITH instead of AC_LIB_ARG_WITH.
+ Reported by Sam Steingold <sds@gnu.org>.
+
+2008-03-12 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ * build-aux/bootstrap (version_controlled_file): Adapt for SVN
+ repositories.
+
+2008-03-11 Bruno Haible <bruno@clisp.org>
+
+ Avoid conflicts between local macro definitions.
+ * m4/lib-link.m4 (AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS,
+ AC_LIB_LINKFLAGS_BODY): Use pushdef/popdef instead of define/undefine.
+
+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.
*.m4 files in this module.
2008-03-03 John E. Malmberg <wb8tyw@qsl.net> (tiny change)
- Bruno Haible <bruno@clisp.org>
+ 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.