sha1.c, md5.c: Hoist a redundant expression.
[gnulib.git] / ChangeLog
index 6134790..97d711f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,115 @@
+2008-03-15  Jim Meyering  <meyering@redhat.com>
+
+       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.