X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=64d321464d0fc567463d9388b9944a99394681bd;hb=b566a1cae5310716bad3151cee69f943915b2d31;hp=8f030e1d3e5cb1bc8552e041e61a0089e82bff95;hpb=a98bbee4c1388c33841d11b4bdc5d0a600a9deda;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 8f030e1d3..64d321464 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,208 @@ +2006-12-24 Jim Meyering + + Work around an fchownat bug in glibc-2.4: + http://lists.ubuntu.com/archives/ubuntu-users/2006-September/093218.html + This bug would cause "chown -RP ... DIR" to follow symlinks in DIR, + in spite of the -P option. + * m4/openat.m4 (gl_FUNC_FCHOWNAT, gl_FUNC_FCHOWNAT_DEREF_BUG): + New macros. + (gl_PREREQ_OPENAT): Require gl_FUNC_FCHOWNAT. + * modules/openat (Files): Add lib/fchownat.c. + * lib/openat.c (fchownat): Don't define here. Move to... + * lib/fchownat.c: ...this new file. + +2006-12-23 Paul Eggert + + Fix bug reported by Bruno Haible in + + where quotearg.c didn't compile on Mac OS X 10.2 because it + lacks and wint_t. + * lib/wctype_.h (__wctype_wint_t): New type. + Include , , only if HAVE_WINT_T. + (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph): + (iswlower, iswprint, iswpunct, iswspace, iswupper, ixwxdigit): + Arg is now of type __wctype_wint_t, not wint_t. + * m4/wctype.m4 (gl_WCTYPE_H): Require gt_TYPE_WINT_T, and + substitute HAVE_WINT_T. + * modules/wctype (Files): Add m4/wint_t.m4. + (wctype.h): Substitute HAVE_WINT_T. + +2006-12-23 Bruno Haible + + * lib/safe-read.h [C++]: Wrap declarations in extern "C". + +2006-12-23 Bruno Haible + + * lib/canonicalize-lgpl.c (__realpath): Test HAVE_READLINK instead of + S_ISLNK. + Needed because gnulib's sys/stat.h replacement defines S_ISLNK on + mingw. + +2006-12-22 Bruno Haible + + * lib/copy-file.c: Include acl.h. + (copy_file_preserving) [USE_ACL]: Use copy_acl instead of chmod. + Close the file descriptors only after being done with copy_acl. + * modules/copy-file (Depends-on): Add acl. + +2006-12-22 Bruno Haible + + * gnulib-tool (SED): New variable. + Use $SED instead of sed everywhere. + +2006-12-22 Bruno Haible + + * modules/no-c++: New file. + * m4/no-c++.m4: New file. + * MODULES.html.sh (Support for building libraries and executables): + Add no-c++. + +2006-12-22 Paul Eggert + + * m4/mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf. + Include , and use its INT_MAX to rewrite the + j loop so that it does not overflow 'int'. Problem reported by + Ralf Wildenhues in + . + Play it safe by shifting left by 1 rather than multiplying by 2, + as GCC is less likely to optimize this away when the value + is signed (when it assumes overflow leads to undefined behavior). + Also, don't assume time_t uses two's complement. + +2006-12-21 Paul Eggert + + * MODULES.html.sh: New module wctype. + * lib/wctype_.h, m4/wctype.m4, modules/wctype: New files. + * lib/fnmatch.c: Don't bother to include before + , since the new wctype module should fix this. + * lib/quotearg.c: Include unconditionally, since + the wctype module should arrange for it. + * lib/regex_internal.h: Likewise. + * m4/quotearg.m4 (gl_QUOTEARG): Don't check for wctype.h or iswprint, + since the wctype module should handle this now. + * m4/regex.m4 (gl_PREREQ_REGEX): Don't check for wctype.h. + * modules/fnmatch (Depends-on): Add wctype. + * modules/quotearg (Depends-on): Likewise. + * modules/regex (Depends-on): Likewise. + +2006-12-19 Bruno Haible + + * lib/strdup.h [C++]: Wrap definitions in extern "C". + Suggested by Lorenzo Bettini . + +2006-12-19 Ralf Wildenhues + + * modules/savewd (Depends-on): Fix dependency on fcntl. + +2006-12-18 Paul Eggert + + * m4/stdint.m4 (gl_STDINT_H): Set STDINT_H to empty if stdint.h + conforms to C99, rather than relying on the user's environment + setting of STDINT_H. + +2006-12-18 Paul Eggert + and Eric Blake + + * lib/dirname.h (DOUBLE_SLASH_IS_DISTINCT_ROOT): Default to 0, not 1. + This is more consistent with the other defines here. + * m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT): + Port to z/OS. Problem reported by Paul Gilmartin. + Change local vars to use gl_ prefix rather than ac_. + Don't define DOUBLE_SLASH_IS_DISTINCT_ROOT to 0, for consistency + with other defines. + * modules/double-slash-root: New module. + * modules/dirname (Files): Remove m4/double-slash-root.m4. + (Depends-on): Add double-slash-root. + * MODULES.html.sh (File system functions): Mention new module. + +2006-12-14 Paul Eggert + + * lib/yesno.c [!ENABLE_NLS]: Don't include getline.h. + (yesno) [!ENABLE_NLS]: Don't invoke getline or rpmatch. + This is for the benefit of gzip, which doesn't do i18n. + +2006-12-12 Jim Meyering + + * m4/acl.m4 (gl_ACL_GET_FILE): Fix logic error. + Reported by Andreas Schwab . + +2006-12-12 Bruno Haible + + Merge these changes. + 2006-09-05 Bruno Haible + * lib/iconvme.c (iconv_string): No need to save and restore errno when + iconv_alloc succeeded. + (iconv_alloc): Don't assume that malloc() or realloc(), when failing, + sets errno to ENOMEM. (malloc on GNU/kFreeBSD doesn't.) No need to + test for " && dest " at the end - dest is always != NULL there. Call + iconv with 4xNULL arguments initially, to reset the state. Call iconv + with 2xNULL arguments, also to flush the state storage. Handle the + IRIX iconv behaviour. Realloc the final result, to throw away unused + memory. + +2006-12-11 Paul Eggert + + * m4/openat.m4 (gl_FUNC_OPENAT): Don't compile mkdirat + and fchmodat unconditionally, since glibc 2.4 has them. + Problem reported by Arkadiusz Miskiewicz. + +2006-12-10 Bruno Haible + + * gnulib-tool (func_import): Show the include files only for those + modules that are copied and specified. + Reported by Karl Berry. + +2006-12-08 Jim Meyering + + * build-aux/announce-gen ($VERSION): Don't use of $Revision...$. + Instead, use Emacs' time-stamp write hook. Note that the time is UTC. + + * build-aux/announce-gen: Add two new options, both optional: + --bootstrap-tools=TOOL_LIST + a comma-separated list of tools, e.g., + autoconf,automake,bison,gnulib + --gnulib-snapshot-date=DATE + if gnulib is in the bootstrap tool list, + then report this as the snapshot date. + If not specified, use the current date/time. + If you specify a date here, be sure it's UTC. + +2006-12-05 Ralf Wildenhues + + * tests/test-argp-2.sh: Fix test to match actual output. + (func_compare): Fix sed script to be portable. + +2006-12-05 Paul Eggert + + * lib/utimens.c (futimens) [HAVE_BUGGY_NFS_TIME_STAMPS]: Add a + workaround for this case. It is not autoconfigured now; offhand + it's hard to see how to autoconfigure it. + +2006-12-03 Paul Eggert + + * lib/mkdir-p.c (make_dir_parents): Fix race condition when making + a directory that is about to be chowned. Such a directory's + initial file permissions should permit the owner only and this + should not be changed until after the chown, since the group and + other bits would be incorrect if they granted permission before + the chown. + + Fix porting problem for iswctype reported by Georg Schwarz in: + http://lists.gnu.org/archive/html/bug-coreutils/2006-12/msg00017.html + * lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too. + * lib/regex_internal.h (RE_ENABLE_I18N): Likewise. + * m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for iswctype, too. + * m4/regex.m4 (gl_PREREQ_REGEX): Likewise. + 2006-12-03 Jim Meyering * lib/fts.c (fts_load): Don't set sp->fts_dev here, since p->fts_statp may not yet be defined. (fts_read): Instead, set it in the caller, once p->fts_statp is sure to be defined, and corresponds to a top-level directory. + This bug made du -x fail. Here's the coreutils test case: + http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=ba45154d8e9f + Reported by Mike Frysinger. 2006-12-01 Jim Meyering