Use @FOO@ syntax instead of $(FOO) syntax, because it uncovers typos early.
[gnulib.git] / ChangeLog
index 14440d8..212ba80 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,159 @@
+2007-10-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/csharpexec (Makefile.am): Use @FOO@ syntax instead of $(FOO)
+       syntax.
+       * modules/javaexec (Makefile.am): Likewise.
+       * modules/relocatable-prog (Makefile.am): Likewise.
+       Suggested by Jim Meyering.
+
+2007-10-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Don't use %n on glibc >= 2.3 systems.
+       Reported by Jim Meyering.
+
+2007-10-18  Eric Blake  <ebb9@byu.net>
+
+       * modules/filenamecat-tests (Makefile.am): Link against -lintl.
+
+2007-10-18  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N): Put
+       the format string into writable memory. Needed in Fortify conditions.
+
+2007-10-18  Colin Watson <cjwatson@debian.org>  (tiny change)
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/trim.c: Include config.h unconditionally. Include trim.h always.
+       Include ctype.h always. Include stdlib.h, not mbuiter.h, for MB_CUR_MAX.
+       * modules/trim (Depends-on): Add mbchar.
+       (configure.ac): Add gl_FUNC_MBRTOWC.
+       (Makefile.am): Augment lib_SOURCES.
+
+2007-10-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Modify glob.c to use fstatat and dirfd, to simplify it.
+       Suggested by Eric Blake.
+       * lib/glob.c (__fxstatat64) [!_LIBC]: New macro.
+       Don't include <stdbool.h>; not used.
+       (link_exists2_p, glob_in_dir) [!_LIBC]: No longer a special case.
+       (link_exists_p): Simplify implementation, since we can now assume
+       dirfd and fstatat.
+       * modules/glob (Depends-on): Add dirfd, openat.  Remove stdbool.
+
+2007-10-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_get_dependencies): Fix sed script to
+       match only tests.
+
+2007-10-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): On Cygwin, don't
+       allow locale names without encoding suffix.
+       * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): Likewise.
+       * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): Likewise.
+
+2007-10-16  Bruno Haible  <bruno@clisp.org>
+
+       * lib/getcwd.c (__getcwd): Define with explicit rpl_ prefix.
+       * lib/getgroups.c (getgroups): Likewise.
+       * lib/gettimeofday.c (localtime, gmtime, tzset): Likewise.
+
+2007-10-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/absolute-header (License): Change from LGPL to LGPLv2+.
+       * modules/malloc-posix (License): Likewise.
+       * modules/realloc-posix (License): Likewise.
+       * modules/calloc-posix (License): Likewise.
+       * modules/intprops (License): Change from GPL to LGPL, with
+       Paul Eggert's approval.
+
+2007-10-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge glibc changes into lib/glob.c.
+
+       * lib/glob.c (glob_in_dir): Sync with glibc/posix/glob.c, dated
+       2007-10-15 04:59:03 UTC.  Here are the changes:
+
+       2007-10-14  Ulrich Drepper  <drepper@redhat.com>
+
+       * lib/glob.c: Reimplement link_exists_p to use fstatat64.
+
+       * lib/glob.c: Add some branch prediction throughout.
+
+       2007-10-07  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #5103]
+       * lib/glob.c (glob): Recognize patterns starting \/.
+
+       2007-02-14  Jakub Jelinek  <jakub@redhat.com>
+
+       [BZ #3996]
+       * lib/glob.c (attribute_hidden): Define if not defined.
+       (glob): Unescape dirname, filename or username when needed and not
+       GLOB_NOESCAPE.  Handle \/ correctly.  Handle GLOB_MARK if filename
+       is NULL.  Handle unescaped [ in pattern without closing ].
+       Don't pass GLOB_CHECK down to recursive glob for directories.
+       (__glob_pattern_type): New function.
+       (__glob_pattern_p): Implement using __glob_pattern_type.
+       (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta
+       characters and backslashes if not GLOB_NOESCAPE or unterminated [.
+       Remove unreachable code.
+
+       2006-09-30  Ulrich Drepper  <drepper@redhat.com>
+
+       * lib/glob.c (glob_in_dir): Add some comments and asserts to
+       explain why there are no leaks.
+
+       2006-09-25  Jakub Jelinek  <jakub@redhat.com>
+
+       [BZ #3253]
+       * lib/glob.c (glob_in_dir): Don't alloca one struct globlink at a
+       time, rather allocate increasingly bigger arrays of pointers, if
+       possible with alloca, if too large with malloc.
+
+2007-10-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Check for 64-bit int errors in HP-UX 10.20 preprocessor.
+       Problem reported by H.Merijn Brand in
+       <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
+       * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Check preprocessor too.
+       * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
+
+2007-10-15  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fchdir.c (close, open, closedir, opendir, dup, dup2): Define
+       with explicit rpl_ prefix.
+       * lib/fopen.c (fopen): Likewise.
+       * lib/freopen.c (freopen): Likewise.
+       * lib/iconv.c (iconv): Likewise.
+       * lib/iconv_close.c (iconv_close): Likewise.
+
+2007-10-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/iconv_open (gl_FUNC_ICONV_OPEN_UTF): Fix cache variable name.
+
+2007-10-15  Bruno Haible  <bruno@clisp.org>
+
+       * m4/getaddrinfo.m4 (gl_GETADDRINFO, gl_PREREQ_GETADDRINFO): Use
+       <stddef.h> instead of <stdlib.h> since we only need NULL.
+       Reported by Ben Pfaff <blp@cs.stanford.edu>.
+
+2007-10-15  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (Initial import): Swap order of -I directives.
+       Replace paragraph talking about LIBOBJS.
+       Reported by Colin Watson <cjwatson@debian.org>.
+
+2007-10-15  Bruno Haible  <bruno@clisp.org>
+
+       * m4/getaddrinfo.m4 (gl_GETADDRINFO, gl_PREREQ_GETADDRINFO): Include
+       <stdlib.h> before using NULL.
+
+2007-10-15  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/getaddrinfo.m4: Use NULL rather than 0 for pointers.
+       Reported by Albert Chin <china@thewrittenword.com>.
+
 2007-10-14  Bruno Haible  <bruno@clisp.org>
 
        * modules/iconv_open-utf-tests: New file.
        * doc/functions/iconv_open.texi: Mention the iconv_open-utf module.
 
 2007-10-13  Albert Chin  <china@thewrittenword.com>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * m4/getaddrinfo.m4 (gl_GETADDRINFO): Perform the test for getaddrinfo
        through a link check that includes <netdb.h>. Needed for OSF/1 5.1.
        * m4/uintmax_t.m4: New file.
        * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
 
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
-  Free Software Foundation, Inc.
+Copyright (C) 1997-2007 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.