X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=5225d25d5102c1a76dc08385d7a22faf396b45c6;hb=a9b486446b726424252a50491ad5721b1bc4467a;hp=a5c084bd9d201535ad5bfcf7c38d36dd109f325f;hpb=177498a108d49a4cfe37027ca5df0483adcb6ef0;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index a5c084bd9..5225d25d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,716 @@ +2008-03-30 Eric Blake + + strtod touchups. + * lib/strtod.c (strtod): Avoid compiler warnings. + Reported by Jim Meyering. + +2008-03-30 Bruno Haible + + * 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 + + 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 + + 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 + + * lib/freadseek.c (freadseek): Don't ignore the return value of + freadptr. + +2008-03-29 Eric Blake + + 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 + + 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 + + * 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 + + * 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 + + * 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 + + 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 + + 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 + + * 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 + + 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 . + +2008-03-23 Bruno Haible + + * doc/gnulib-tool.texi (gettextize and autopoint): New section. + +2008-03-23 Eric Blake + Bruno Haible + + 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 + + Tweak "gnulib --version" output. + * gnulib-tool (func_version): Replace "-dirty" suffix with "-modified". + +2008-03-23 Bruno Haible + + 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 + + More --version tweaks. + * gnulib-tool (func_version): Obey GNU Coding Standards. Output + date of last ChangeLog entry. + +2008-03-21 Jim Meyering + + * build-aux/GNUmakefile (_have-git-version-gen): Split long line. + +2008-03-20 Eric Blake + + VPATH fix. + * build-aux/GNUmakefile (_have_git-version-gen): Look in correct dir. + +2008-03-20 Simon Josefsson + + * build-aux/GNUmakefile: Make git-version-gen optional. Add + _build-aux variable. Suggested by Eric Blake . + +2008-03-20 Eric Blake + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 . + +2008-03-12 Sergey Poznyakoff + + * build-aux/bootstrap (version_controlled_file): Adapt for SVN + repositories. + +2008-03-11 Bruno Haible + + 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 + Bruno Haible + + 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 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 + + * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Document a restriction. + * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise. + Reported by Peter O'Gorman . + +2008-03-10 Bruno Haible + + * modules/stdlib (Depends-on): Add include_next, remove + absolute-header. + +2008-03-09 Bruno Haible + + * 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 + + 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 + + * doc/Makefile (%.pdf): Explain how to remedy the save_size error. + Report and solution by Simon Josefsson. + +2008-03-06 Bruno Haible + + 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 + + Likewise for ftello. + * modules/ftello (Dependencies): Add extensions. + * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS. + +2008-03-06 Bruno Haible + + * 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 + + * doc/gnulib-tool.texi (@nosuchmodulenote): Avoid line break inside + email address. + Reported by Thien-Thi Nguyen . + +2008-03-06 Bruno Haible + + * users.txt: Add libgnupdf. + +2008-03-06 Thien-Thi Nguyen (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 + + * doc/gnulib-tool.texi (VCS Issues): Small updates. + Reported by Thien-Thi Nguyen . + +2008-03-06 Bruno Haible + + * doc/func.texi: New file, extracted from doc/gnulib.texi. + * doc/gnulib.texi: Include it. + +2008-03-06 Simon Josefsson + + * modules/func (License): Change license to unlimited; there was + no LGPL parts in the module anyway. + +2008-03-06 Simon Josefsson + + * 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 . + +2008-03-06 Simon Josefsson + + * doc/gnulib.texi (__func__): Use C99 terminology when talking + about __func__. Make example self-contained. Suggested by Eric + Blake . + + * tests/test-__func__.c (main): Avoid extraneous () around __func. + Suggested by Eric Blake . + +2008-03-06 Simon Josefsson + + * 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 + + * modules/byteswap (License): Re-license as LGPLv2+. + +2008-03-05 Simon Josefsson + + * doc/Makefile: Add pdf target. + +2008-03-05 Simon Josefsson + + * modules/inline (License): Use 'unlimited', since there are only + *.m4 files in this module. + +2008-03-03 John E. Malmberg (tiny change) + Bruno Haible + + 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 (tiny change) + + Update VMS specifics. + * lib/getopt.c [VMS]: Remove include of unixlib.h. + +2008-03-02 Jim Meyering + + 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 + + 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 + + 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * lib/xsize.h: Fix typo in comment: s/tupe/type/. + +2008-02-28 Bruno Haible + + * 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 + + Sync from Libtool: + * libltdl/argz.c (argz_add, argz_count): New functions. + * libltdl/argz.in.h: Declare them. + Report by Juan Manuel Guerrero . + +2008-02-22 Bruno Haible + + * 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 . + +2008-02-24 Bruno Haible + + * 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. + * m4/environ.m4: New file. + (gt_CHECK_VAR_DECL): Moved here from m4/setenv.m4. Undefine gt_cv_var + after use. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_ENVIRON and + HAVE_DECL_ENVIRON. + * modules/unistd (Makefile.am): Substitute also GNULIB_ENVIRON and + HAVE_DECL_ENVIRON. + * doc/posix-functions/environ.texi: Mention module 'environ'. Remove + wrong claim that 'environ' is missing on some systems. + * modules/execute (Depends-on): Add environ. + * lib/execute.c (environ): Remove fallback declaration. + * modules/pipe (Depends-on): Add environ. + * lib/pipe.c (environ): Remove fallback declaration. + * modules/setenv (Depends-on): Add environ. + * lib/setenv.c (environ): Remove fallback declaration. + * modules/unsetenv (Depends-on): Add environ. + * lib/unsetenv.c (environ): Remove fallback declaration. + * m4/setenv.m4 (gt_CHECK_VAR_DECL): Remove macro. Moved to + m4/environ.m4. + (gl_PREREQ_SETENV): Require gl_ENVIRON instead of testing for environ. + (gl_PREREQ_UNSETENV): Likewise. + +2008-02-24 Bruno Haible + + * doc/posix-functions/environ.texi: Document the MacOS X problem. + +2008-02-20 Bob Proulx + + Enable use of older two part flavor 'git describe'. + * build-aux/git-version-gen: If using the older two part flavor of + git version then recreate the third part now present in the + newer three part flavor of git describe. + +2008-02-20 Martin Buchholz (tiny change) + + * lib/fts.c (fts_build): Typo correction to comment. + +2008-02-17 Bruno Haible + + * lib/git-merge-changelog.c (main) [split_merged_entry]: Avoid + generating no-op conflicts. + +2008-02-17 Bruno Haible + + Speed up by 10%. + * lib/git-merge-changelog.c (main): Use the iterator to iterate through + result_entries, rather than an index-based loop. + +2008-02-17 Bruno Haible + + Speed up by 25%. + * lib/git-merge-changelog.c (struct entry): New fields 'hashcode', + 'hashcode_cached'. + (entry_create): New function. + (entry_hashcode): Use the cached hashcode if possible. + (read_changelog_file, try_split_merged_entry): Use entry_create. + +2008-02-17 Bruno Haible + + Speed up from O(n^2) to O(n) for long ChangeLog files. + * lib/git-merge-changelog.c: Include gl_rbtreehash_list.h. + (read_changelog_file): Change implementation of entries_reversed list + to rbtreehash. + * modules/git-merge-changelog (Depends-on): Add rbtreehash-list. + +2008-02-17 Bruno Haible + + New option --split-merged-entry. + * lib/git-merge-changelog.c (FSTRCMP_STRICTER_THRESHOLD): New macro. + (find_paragraph_end, try_split_merged_entry): New functions. + (long_options): Add option --split-merged-entry. + (usage): Document option --split-merged-entry. + (main): Implement option --split-merged-entry. + Reported by Eric Blake. + 2008-02-17 Bruno Haible * lib/git-merge-changelog.c: Include c-strstr.h. @@ -38157,6 +38870,11 @@ * m4/uintmax_t.m4: New file. * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4. -Copyright (C) 1997-2008 Free Software Foundation, Inc. -Copying and distribution of this file, with or without modification, -are permitted provided the copyright notice and this notice are preserved. + + ----- + + Copyright (C) 1997-2008 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without + modification, are permitted provided the copyright notice + and this notice are preserved.