Fix bug introduced on 2007-12-02.
[gnulib.git] / ChangeLog
index 500e13a..bdf61e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,160 @@
+2008-01-04  Bruno Haible  <bruno@clisp.org>
+
+       * m4/strcase.m4 (gl_FUNC_STRCASECMP, gl_FUNC_STRNCASECMP):
+       Require gl_HEADER_STRINGS_H_DEFAULTS, not
+       gl_HEADER_STRING_H_DEFAULTS.
+
+2008-01-04  Eric Blake  <ebb9@byu.net>
+
+       Shorten duration of memmem test.
+       * tests/test-memmem.c (main): Use alarm to declare failure if test
+       is taking too long.
+       Reported by Ralf Wildenhues.
+
+2007-12-21  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/relocatable-prog-wrapper (Depends-on): Add intprops and
+       string, needed by strerror.
+
+2008-01-03  Colin Watson  <cjwatson@debian.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (Localization): New section.
+
+2008-01-02  Bruno Haible  <bruno@clisp.org>
+
+       * lib/memmem.c (knuth_morris_pratt, memmem): Change all 'char *'
+       variables to 'unsigned char *' type.
+       Reported by Paul Eggert.
+
+2008-01-02  Jim Meyering  <jim@meyering.net>
+
+       * lib/version-etc.c (COPYRIGHT_YEAR): Increase for new year.
+
+2007-12-31  Jim Meyering  <jim@meyering.net>
+
+       Avoid use of private FTS type name.
+       * lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".
+
+2007-12-30  Karl Berry  <karl@gnu.org>
+
+       * doc/gnulib.texi (Library vs. Reusable Code): remove period, to
+       work around defect in Texinfo and/or the standalone Info browser.
+
+2007-12-30  Bruno Haible  <bruno@clisp.org>
+
+       Unify 5 copies of the KMP code.
+       * lib/str-kmp.h: New file.
+       * lib/c-strcasestr.c: Include str-kmp.h.
+       (knuth_morris_pratt): Remove function.
+       (c_strcasestr): Update.
+       * lib/c-strstr.c: Include str-kmp.h.
+       (knuth_morris_pratt): Remove function.
+       (c_strcasestr): Update.
+       * lib/mbscasestr.c: Include str-kmp.h.
+       (knuth_morris_pratt_unibyte): Remove function.
+       * lib/mbsstr.c: Include str-kmp.h.
+       (knuth_morris_pratt_unibyte): Remove function.
+       * lib/strcasestr.c: Include str-kmp.h.
+       (knuth_morris_pratt): Remove function.
+       (strcasestr): Update.
+       * modules/c-strcasestr (Files): Add lib/str-kmp.h.
+       * modules/c-strstr (Files): Likewise.
+       * modules/mbscasestr (Files): Likewise.
+       * modules/mbsstr (Files): Likewise.
+       * modules/strcasestr (Files): Likewise.
+       Suggested by Paul Eggert.
+
+2007-12-30  Bruno Haible  <bruno@clisp.org>
+
+       * lib/xmalloca.c (xmmalloca): Don't define if HAVE_ALLOCA is not
+       defined.
+
+2007-12-30  Bruno Haible  <bruno@clisp.org>
+
+       * lib/xmalloca.h: Include xalloc.h.
+       (xnmalloca): New macro.
+
+2007-12-30  Bruno Haible  <bruno@clisp.org>
+
+       * lib/malloca.h (nmalloca): New macro.
+       * lib/c-strcasestr.c (knuth_morris_pratt): Use it.
+       * lib/c-strstr.c (knuth_morris_pratt): Likewise.
+       * lib/mbscasestr.c (knuth_morris_pratt_unibyte,
+       knuth_morris_pratt_multibyte): Likewise.
+       * lib/mbsstr.c (knuth_morris_pratt_unibyte,
+       knuth_morris_pratt_multibyte): Likewise.
+       * lib/memmem.c (knuth_morris_pratt): Likewise.
+       * lib/strcasestr.c (knuth_morris_pratt): Likewise.
+
+2007-12-25  Bruno Haible  <bruno@clisp.org>
+
+       Fixup after 2007-10-17 commit. Ensure that 'glob' stays under LGPLv2+.
+       * lib/glob.c: Don't include openat.h.
+       (link_exists2_p): Add back the code that deals with the
+       !GLOB_ALTDIRFUNC case.
+       (link_exists_p) [!_LIBC && !HAVE_FSTATAT]: Just call link_exists2_p and
+       let it do the filename concatenation.
+       * m4/glob.m4 (gl_PREREQ_GLOB): Add check for fstatat.
+       * modules/glob (Depends-on): Remove openat.
+
+2007-12-31  Bruno Haible  <bruno@clisp.org>
+
+       * modules/dirfd (License): Change to LGPLv2+.
+       Approved by Jim Meyering.
+
+2007-12-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/memmem.c (knuth_morris_pratt): Check for size_t overflow
+       when multiplying M by sizeof (size_t).
+
+2007-12-10  Martin Lambers  <marlam@marlam.de>
+
+       Override getpagesize on mingw.
+       * lib/getpagesize.c: New file.
+       * m4/getpagesize.m4 (gl_FUNC_GETPAGESIZE): Enable replacement on mingw.
+       * modules/getpagesize (Files): Add lib/getpagesize.c.
+       * lib/unistd.in.h (getpagesize): Declare if we are using a replacement.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+       REPLACE_GETPAGESIZE.
+       * modules/unistd (Makefile.am): Substitute REPLACE_GETPAGESIZE.
+
+2007-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/localcharset (Notice): New field.
+       (configure.ac): Define LOCALCHARSET_TESTS_ENVIRONMENT.
+       Suggested by Ben Pfaff <blp@cs.stanford.edu>.
+
+2007-12-25  Paul Eggert  <eggert@cs.ucla.edu>
+           Bruno Haible  <bruno@clisp.org>
+
+       Avoid using the syntax symbol() in formatted documentation.
+       * MODULES.html.sh (func_module): When replacing symbol() with a
+       hyperlink, remove the parentheses. Show an error if some remain.
+       Recognize and render the '...' syntax.
+       * doc/alloca-opt.texi: Remove parentheses from symbol reference.
+       Rework. Add paragraph about GCC's inlining.
+       * doc/alloca.texi: Likewise.
+       * doc/error.texi: Remove parentheses from symbol reference.
+       * doc/gnulib-intro.texi: Likewise.
+       * doc/gnulib.texi (alloca, alloca-opt): New nodes.
+       * modules/fnmatch (Description): Reword to say "the ... function".
+       * modules/full-read (Description): Likewise.
+       * modules/full-write (Description): Likewise.
+       * modules/safe-read (Description): Likewise.
+       * modules/safe-write (Description): Likewise.
+       * modules/strchrnul (Description): Likewise.
+       * modules/trim (Description): Likewise.
+       * modules/error (Description): Remove parentheses from symbol
+       references.
+       * modules/verror (Description): Likewise.
+       Reported by Karl Berry.
+
+2007-12-25  Bruno Haible  <bruno@clisp.org>
+
+       Fixup after 2007-10-16 commit.
+       * lib/glob.c (glob_in_dir): Don't use ISO C99 syntax.
+
 2007-12-24  Bruno Haible  <bruno@clisp.org>
 
        Make --enable-relocatable work with DESTDIR.
 2007-12-24  Bruno Haible  <bruno@clisp.org>
 
        Make --enable-relocatable work with DESTDIR.
        * m4/uintmax_t.m4: New file.
        * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
 
        * m4/uintmax_t.m4: New file.
        * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
 
-Copyright (C) 1997-2007 Free Software Foundation, Inc.
+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.
 Copying and distribution of this file, with or without modification,
 are permitted provided the copyright notice and this notice are preserved.