* modules/mkdir (License): Re-license as LGPLv2+.
[gnulib.git] / ChangeLog
index 5a3fcbc..1066a83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,87 @@
+2008-04-29  Jim Meyering  <meyering@redhat.com>
+
+       * modules/mkdir (License): Re-license as LGPLv2+.
+
+2008-04-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/rawmemchr (Maintainer): Set to Eric.
+       * modules/strchrnul (Maintainer): Likewise.
+
+2008-04-29  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/arpa_inet_h.m4 (gl_ARPA_INET_H_DEFAULTS): Set
+       HAVE_DECL_INET_NTOP and HAVE_DECL_INET_PTON.
+
+       * modules/arpa_inet (arpa/inet.h): Use them.
+
 2008-04-28  Eric Blake  <ebb9@byu.net>
 
+       Test getndelim2.
+       * modules/getndelim2-tests: New file.
+       * tests/test-getndelim2.c: Likewise.
+       * lib/getndelim2.c (getndelim2): Never return 0.  Lock the
+       stream.
+       * m4/getndelim2.m4 (gl_GETNDELIM2): Check for lock functions.
+
+       * MODULES.html.sh: Document new module.
+
+2008-04-20  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-stack.c (die): Use raise.
+       * modules/c-stack (Depends-on): Add raise.
+
+2008-04-28  Bruno Haible  <bruno@clisp.org>
+
+       Expect rpmatch to be declared.
+       * lib/yesno.c (rpmatch): Remove declaration.
+
+       Declare rpmatch.
+       * lib/stdlib.in.h (rpmatch): New declaration.
+       * lib/rpmatch.c: Include <stdlib.h> first.
+       * m4/rpmatch.m4 (gl_FUNC_RPMATCH): Require AC_USE_SYSTEM_EXTENSIONS and
+       gl_STDLIB_H_DEFAULTS. Set HAVE_RPMATCH.
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_RPMATCH,
+       HAVE_RPMATCH.
+       * modules/rpmatch (Depends-on): Add stdlib, extensions.
+       (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR.
+       (Include): Set to <stdlib.h>.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_RPMATCH and
+       HAVE_RPMATCH.
+       * NEWS: Document the change.
+
+2008-04-28  Bruno Haible  <bruno@clisp.org>
+
+       Change rpmatch to use nl_langinfo when appropriate.
+       * lib/rpmatch.c: Include stdbool.h, string.h, langinfo.h.
+       (N_): New macro.
+       (localized_pattern): New function/macro.
+       (try): Remove match, nomatch arguments. Copy the pattern into safe
+       memory before caching it.
+       (rpmatch): Use localized_pattern. Add translator comments.
+       * m4/rpmatch.m4 (gl_PREREQ_RPMATCH): Test for nl_langinfo and YESEXPR.
+       Suggested by Eric Blake.
+       * modules/rpmatch (Depends-on): Add stdbool.
+
+2008-04-28  Eric Blake  <ebb9@byu.net>
+
+       Add rawmemchr module, matching glibc.
+       * modules/string (Makefile.am): New indicator.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set it.
+       * lib/string.in.h (rawmemchr): Declare when appropriate.
+       * modules/rawmemchr: New file.
+       * m4/rawmemchr.m4: Likewise.
+       * lib/rawmemchr.c: Likewise.
+       * modules/rawmemchr-tests: Likewise.
+       * tests/test-rawmemchr.c: Likewise.
+       * doc/glibc-functions/rawmemchr.texi (rawmemchr): Document
+       module.
+       * modules/strchrnul (Depends-on): Add rawmemchr.
+       * lib/strchrnul.c (strchrnul): Optimize a corner case.
+
+       Whitespace cleanup.
+       * tests/test-strchrnul.c: Reindent.
+       * lib/strchrnul.c: Likewise.
+
        Optimize and test strchrnul.
        * lib/strchrnul.c (strchrnul): Rewrite to do parallel search.
        * modules/strchrnul-tests: New file.
 
        -----
 
+       Local Variables:
+       coding: utf-8
+       End:
+
        Copyright (C) 1997-2008 Free Software Foundation, Inc.
 
        Copying and distribution of this file, with or without