Suggestions by Bruno Haible:
[gnulib.git] / ChangeLog
index 0e53e83..ff95055 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,160 @@
+2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Suggestions by Bruno Haible:
+       * lib/acl-internal.h: Include "gettext.h" rather than rolling
+       our own.
+       (ACL_NOT_WELL_SUPPORTED): Parenthesize arg when used.
+       * modules/acl (Depends-on): Add gettext.
+
+2007-03-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/iconvme: Remove file.
+       * lib/iconvme.h: Remove file.
+       * lib/iconvme.c: Remove file.
+       * m4/iconvme.m4: Remove file.
+
+2007-03-19  Bruno Haible  <bruno@clisp.org>
+
+       * doc/relocatable-maint.texi: Break long shell script line.
+       Suggested by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Add limited support for Solaris 10 ZFS-style ACLs: just enough to
+       handle file_has_acl.
+       * lib/acl-internal.h, lib/acl_entries.c, lib/file-has-acl.c: New files.
+       * lib/acl.c: Move header inclusions and related macro defns into
+       lib/acl-internal.h.
+       (S_ISLNK): Remove defn, since that's now done for us.
+       (file_has_acl): Move to lib/file-has-acl.c.
+       Call acl_trivial if available.  This is the crucial part of the fix.
+       (acl_entries): Move to lib/acl_entries.c.  Now extern, since it's
+       shared within the library.  Rewrite a bit, partly to make it compatible
+       with the GNU coding style.
+       * m4/acl.m4 (AC_FUNC_ACL): Add AC_LIBOBJ([file-has-acl]).
+       Remove unnecessary double-quotes.
+       Don't test for acl_to_text; the build will catch that.
+       Replace acl_entries if it doesn't exist and it is needed.
+       Check for -lsec and acl_trivial (as used on Solaris 10).
+       * modules/acl (Files): Add lib/acl-internal.h, lib/acl_entries.c,
+       lib/file-has-acl.c.
+       (Depends-on): Add sys_stat, for S_ISLNK.
+
+2007-03-19  Ben Pfaff  <blp@gnu.org>
+
+       * doc/gnulib.texi: Fix typos.
+       Suggested by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/getcwd.c (__getcwd): Remove redundant comparison of buf to NULL.
+       If size is zero here, buf must be zero.
+
+2007-03-19  Simon Josefsson  <simon@josefsson.org>
+
+       * des.c: Remove weak_keys_chksum.  Reported by Bruno Haible
+       <bruno@clisp.org>.
+
+2007-03-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Undo first part of last patch.
+       Suggested by Eric Blake.
+
+2007-03-18  Ben Pfaff  <blp@gnu.org>
+
+       * doc/relocatable.texi: Recommend using as prefix a directory
+       that does not exist and will never be created.  Based on
+       discussion with Bruno Haible, Ralf Wildenhues, Matthew Woehlke,
+       and others.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fchownat.c: Include lchown.h.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       Fix endless loop when the given allocated size was > INT_MAX.
+       * lib/vasnprintf.c (EOVERFLOW): New fallback definition.
+       (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is
+       larger than INT_MAX, or when it grow to a value larger than INT_MAX.
+       * lib/vsprintf.c (vsprintf): Don't pass a size > INT_MAX to vasnprintf.
+       * lib/sprintf.c (sprintf): Likewise.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-argp-2.sh (func_compare): Output a context diff.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Check also the
+       locale's decimal-point character.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem
+       before comparing it. Needed because on some platforms (e.g. x86) a
+       'long double' occupies less bytes than sizeof (long double).
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-crc.c (main): Make printf statements 64-bit clean.
+       * tests/test-gc-pbkdf2-sha1.c (main): Likewise.
+       * tests/test-getaddrinfo.c (simple): Likewise.
+       * tests/test-read-file.c (main): Likewise.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-dirname.c (main): Make printf statements 64-bit clean.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Remove
+       unused variable.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-c-strcasecmp.c: Include c-strcase.h.
+       * tests/test-c-strncasecmp.c: Likewise.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/stdlib (Depends-on): Add unistd.
+       * lib/stdlib_.h: Include <unistd.h> if mkstemp is desired.
+       Needed for MacOS X 10.3.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr/u-strdup.h: Include <stdlib.h>.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr/u-cpy-alloc.h: Include <stdlib.h>.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Update .cvsignore and .gitignore files
+       to reflect files copied from gnulib (with or without modifications).
+       Suggested by Jim Meyering.
+
+2007-03-17  Eric Blake  <ebb9@byu.net>
+
+       * NEWS: Document stdlib change from 2007-02-18.
+
+2007-03-17  Jim Meyering  <jim@meyering.net>
+
+       Detect use of AC_CONFIG_AUX_DIR also when its argument is quoted.
+       * build-aux/bootstrap: Put ""s around use of $build_aux, in case
+       someone uses a name containing shell meta-characters.
+       Reported by Alfred M. Szmidt.
+
+       * build-aux/bootstrap: Don't use \> in grep regexp.  For HP-UX.
+
+2007-03-16  Alfred M. Szmidt  <ams@gnu.org>
+
+       * build-aux/bootstrap (with_gettext): New variable.  Run autopoint
+       and copy gettext configuration files only if configure.ac contains
+       a use of AM_GNU_GETTEXT_VERSION.
+
 2007-03-16  Alfred M. Szmidt  <ams@gnu.org>
 
        * build-aux/bootstrap (gnulib_name): New variable.