X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=84f5a777d7e643f3d4877bf500f5d03502c39cbc;hb=077d6cd0daebf045a337ddd9ca9d599808aa47fb;hp=e0cb96a42743efdf89ad3cbf8103ebd54ca3ad09;hpb=7ae3600e5e7c01051de428fb0164081de1b64b55;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index e0cb96a42..84f5a777d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,212 @@ +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 + + * modules/savewd (Depends-on): Add fcntl_h to avoid self-test + build failure due to missing definition of HAVE_WORKING_O_NOFOLLOW. + Reported by Simon Josefsson. + +2006-11-30 Jim Meyering + + * m4/warning.m4: Use the all-permissive copyright notice + recommended by RMS (rather than LGPL). + * m4/vararrays.m4: Likewise. + * m4/flexmember.m4: Likewise. + +2006-11-29 Bruno Haible + + * gnulib-tool (func_emit_lib_Makefile_am): Initialize also + noinst_LIBRARIES. Augment noinst_LIBRARIES and noinst_LTLIBRARIES + using +=. + Reported by Simon Josefsson . + +2006-11-28 James Youngman + + * README: Advise users that they might find the bug-gnulib@gnu.org + and autotools-announce@gnu.org mailing lists useful. + +2006-11-28 Bruno Haible + + * m4/ptrdiff_max.m4: Remove file. + +2006-11-21 Bruno Haible + + * m4/eoverflow.m4 (gl_EOVERFLOW): Use AC_COMPUTE_INT instead of + _AC_COMPUTE_INT. + (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61. + * m4/ptrdiff_max.m4 (gl_PTRDIFF_MAX): Use AC_COMPUTE_INT instead of + _AC_COMPUTE_INT. + (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61. + * m4/size_max.m4 (gl_SIZE_MAX): Use AC_COMPUTE_INT instead of + _AC_COMPUTE_INT. + (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61. + +2006-11-28 Jim Meyering + + * lib/regcomp.c (parse_branch): Rename local, exp->expr, to avoid + warning from "gcc -Wshadow" about shadowing the builtin. + +2006-11-27 Bruno Haible + + * m4/stdint.m4 (gl_STDINT_BITSIZEOF): Use AC_COMPUTE_INT instead of + _AC_COMPUTE_INT. + (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61. + +2006-11-27 Bruno Haible + Paul Eggert + + * lib/regex.h (__restrict_arr): Redo logic of #if, for clarity. + +2006-11-26 Bruno Haible + + * gnulib-tool (func_emit_lib_Makefile_am): Initialize also + noinst_LTLIBRARIES. + +2006-11-27 Paul Eggert + Bruno Haible + + * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to 0 + if compiling with "gcc -ansi". + +2006-11-26 Paul Eggert + + Fix some incompatibilities with gcc -ansi -pedantic. + * lib/regex.h (__restrict_arr): Don't use the [restrict] syntax + if compiling pedantically with GCC, unless it's C99 or later. + Don't trust sys/cdefs.h's definition of __restrict_arr, either, as + it mishandles gcc -ansi -pedantic as well. + * lib/regex_internal.h (re_token_t): Don't use enum bitfields + if gcc -pedantic. + * lib/regexec.c (check_node_accept_bytes): Don't use auto + initializers for struct if -pedantic, unless it's C99 or later. + +2006-11-25 Nix (tiny change) + + * m4/fcntl_h.m4 (gl_FCNTL_H): Test the atime, not the mtime. + Don't close an fd more than once. Identical atimes indicate + success, not failure. + +2006-11-22 Robinson Mittmann (tiny change) + + * lib/sincosl.c (kernel_sinl): Fix typo in threshold. + 2006-11-23 Jim Meyering * build-aux/announce-gen: New file. From coreutils. @@ -105,8 +314,8 @@ * m4/allocsa.m4 (gl_ALLOCSA): Don't invoke macro already picked up by the module dependency. -2006-11-15 Yoann Vandoorselaere - Bruno Haible +2006-11-15 Yoann Vandoorselaere + Bruno Haible * gnulib-tool (func_create_testdir): Add license consistency check. @@ -2112,7 +2321,7 @@ * modules/gc-des: * modules/gc-arcfour: Distribute more files. -2006-09-22 Ralf Wildenhues +2006-09-22 Ralf Wildenhues * lib/gl_anylinked_list2.h [lint] (gl_linked_iterator) (gl_linked_iterator_from_to): Initialize struct completely. @@ -2763,7 +2972,7 @@ * gnulib-tool (func_emit_lib_Makefile_am): Initialize also lib_..._LDFLAGS. -2006-09-05 Ralf Wildenhues +2006-09-05 Ralf Wildenhues * lib/argz_.h: Sync from Libtool. @@ -2772,11 +2981,11 @@ * lib/libltdl/argz_.h: It's __cplusplus, not _cplusplus. -2006-09-05 Davide Angelocola +2006-09-05 Davide Angelocola * modules/trim: New file. -2006-09-05 Davide Angelocola +2006-09-05 Davide Angelocola * lib/trim.h: New file. * lib/trim.c: New file. @@ -3157,12 +3366,12 @@ * build-aux/elisp-comp: New file. * modules/elisp-comp: New file. -2006-08-24 Bruno Haible +2006-08-24 Bruno Haible * gnulib-tool (func_create_testdir): Use non-default values of sourcebase and m4base. -2006-08-24 Bruno Haible +2006-08-24 Bruno Haible * MODULES.html.sh (Compatibility checks for POSIX:2001 functions: Fix HTML structure. @@ -3171,7 +3380,7 @@ * modules/openat (Depends-on): Add lchown. -2006-08-23 Bruno Haible +2006-08-23 Bruno Haible * gnulib-tool (func_import, func_create_testdir): Emit an invocation of gl_LOCK_EARLY instead of gl_LOCK. @@ -3272,12 +3481,12 @@ * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise. * m4/intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise. -2006-08-22 Bruno Haible +2006-08-22 Bruno Haible * gnulib-tool (func_emit_lib_Makefile_am): Don't treat lib_LIBRARIES and lib_LTLIBRARIES like the other lib_* variables. -2006-08-22 Bruno Haible +2006-08-22 Bruno Haible * build-aux/x-to-1.in: New file, from GNU gettext. @@ -3501,7 +3710,7 @@ to get the necessary .h files and whatnot. 2006-08-21 Mark D. Baushke - Bruno Haible + Bruno Haible * gnulib-tool (func_verify_module): Work around Sun's non-POSIX 1003.2 /bin/sh understanding of '!' conditional negation. @@ -3517,13 +3726,13 @@ * modules/openat (Depends-on): Add lstat. Alphabetize. -2006-08-21 Bruno Haible +2006-08-21 Bruno Haible * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Emit a pkgdata_DATA variable only if some snippets add contents to it. Reported by Martin Lambers . -2006-08-21 Bruno Haible +2006-08-21 Bruno Haible * gnulib-tool (func_emit_lib_Makefile_am): If the snippets already specify an installation location, don't emit a noinst_LIBRARIES or @@ -4093,7 +4302,7 @@ in an AC_DEFUN. Needed so that the autoconf snippets can use AC_REQUIRE. -2006-08-06 Ralf Wildenhues +2006-08-06 Ralf Wildenhues * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Initialize pkgdata_DATA. @@ -4229,11 +4438,11 @@ * config/srclist.txt (*setenv.[ch]): Remove rules. -2006-07-28 Yoann Vandoorselaere +2006-07-28 Yoann Vandoorselaere * m4/inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too. -2006-07-28 Yoann Vandoorselaere +2006-07-28 Yoann Vandoorselaere * lib/inet_ntop.h, inet_pton.h: Need to include netinet/in.h before arpa/inet.h. @@ -4268,7 +4477,7 @@ * lib/regex_internal.h (struct re_dfa_t) [!_LIBC]: Avoid invalid C89 macro expansion. -2006-07-28 Bruno Haible +2006-07-28 Bruno Haible * lib/inet_ntop.h, inet_pton.h: Use #if HAVE* instead of #ifdef HAVE*. @@ -4393,7 +4602,7 @@ gl_linked_add_after, gl_linked_add_at, gl_linked_remove_node, gl_linked_remove_at): Use it. -2006-07-22 Yoann Vandoorselaere +2006-07-22 Yoann Vandoorselaere and Simon Josefsson * lib/getaddrinfo.h (AI_PASSIVE): Make sure it is defined. @@ -5497,7 +5706,7 @@ * m4/stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy. -2006-06-30 Jim Hyslop (tiny change) +2006-06-30 Jim Hyslop (tiny change) * lib/getaddrinfo.c: fixed typo @@ -5798,7 +6007,7 @@ Problem reported by Denis Excoffier in . -2006-06-19 Yoann Vandoorselaere +2006-06-19 Yoann Vandoorselaere * modules/sys_socket, modules/socklen: Include sys/types since FreeBSD 4.x's sys/socket.h needs it. @@ -6514,7 +6723,7 @@ including some doc fixes. (base64_encode_alloc): Fix +1 bug on allocation failures. -2006-03-24 Ralf Wildenhues +2006-03-24 Ralf Wildenhues * lib/base64.c (base64_encode): Do not read past end of array with unsanitized input on systems with CHAR_BIT > 8. @@ -9260,7 +9469,7 @@ * gnulib-tool (func_import): Fix comparison in handling of symbolic links. -2005-09-04 Martin Lambers (tiny change) +2005-09-04 Martin Lambers (tiny change) * modules/size_max (Makefile.am): Add size_max.h @@ -9645,7 +9854,7 @@ * gnulib-tool (func_import): Also copy m4/gnulib-tool.m4. Omit declaration macro definitions from generated gnulib.m4. -2005-08-30 "Oskar Liljeblad" +2005-08-30 "Oskar Liljeblad" * lib/iconvme.h: Add prototype for iconv_alloc. @@ -9679,7 +9888,7 @@ * modules/byteswap (Makefile.am): Fix rule to not assume GNU make. -2005-08-29 "Oskar Liljeblad" +2005-08-29 "Oskar Liljeblad" * lib/iconvme.c: Split iconv_string into iconv_alloc. @@ -10511,7 +10720,7 @@ * lib/strnlen.h: New file. -2005-08-08 Ralf Wildenhues (tiny change) +2005-08-08 Ralf Wildenhues (tiny change) * README: Typos. @@ -11501,7 +11710,7 @@ date --iso-8601=ns generates acceptable dates; it doesn't yet. Problem reported by Nic Ferrier. -2005-05-10 Yoann Vandoorselaere +2005-05-10 Yoann Vandoorselaere * lib/getaddrinfo.c: Don't fail when SOCK_STREAM or SOCK_DGRAM are specified in ai_socktype. Fix invalid ai_protocol @@ -11535,19 +11744,19 @@ * m4/getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when possible. -2005-05-09 Yoann Vandoorselaere +2005-05-09 Yoann Vandoorselaere Bruno Haible * modules/inet_ntop: New file. * MODULES.html.sh (Support for systems lacking POSIX:2001): Add inet_ntop. -2005-05-09 Yoann Vandoorselaere +2005-05-09 Yoann Vandoorselaere Bruno Haible * m4/inet_ntop.m4: New file. -2005-05-09 Yoann Vandoorselaere +2005-05-09 Yoann Vandoorselaere Bruno Haible * lib/inet_ntop.h: New file. @@ -11781,7 +11990,7 @@ * gnulib-tool (Options): Make --symlink mean --symbolic. -2005-04-18 Oskar Liljeblad +2005-04-18 Oskar Liljeblad * doc/gnulib.texi (Initial import): Fix. Mention --aux-dir. @@ -11797,7 +12006,7 @@ * gnulib-tool: Rename --symlink to --symbolic. -2005-04-15 Oskar Liljeblad +2005-04-15 Oskar Liljeblad * gnulib-tool: Add -s, --symlink option to gnulib-tool to make symbolic links to files instead of copying/moving. Add --aux-dir, @@ -13272,7 +13481,7 @@ with errno == ERANGE if the buffer is too small. Problem reported by Mark D. Baushke. -2004-11-03 Albert Chin +2004-11-03 Albert Chin Paul Eggert * m4/uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t @@ -13589,15 +13798,15 @@ * lib/dirfd.h, getpagesize.h: Add copyright notice. -2004-10-01 Yoann Vandoorselaere +2004-10-01 Yoann Vandoorselaere * modules/strsep: New file. -2004-10-01 Yoann Vandoorselaere +2004-10-01 Yoann Vandoorselaere * m4/strsep.m4: New file. -2004-10-01 Yoann Vandoorselaere +2004-10-01 Yoann Vandoorselaere * lib/strsep.h: New file. * lib/strsep.c: New file. @@ -17197,7 +17406,7 @@ * modules/extensions, modules/gnu-source: New files. * modules/timespec, modules/unlocked-io: Depend on extensions. -2003-08-07 Paul Eggert +2003-08-07 Paul Eggert * modules/restrict: New file. * MODULES.html.sh (func_all_modules): Add restrict. @@ -17253,7 +17462,7 @@ Combine two mostly-identical uses of alloca into one. Thanks to the Cray-Cyber project for access to a Cray Y-MP. -2003-08-04 Dave Love +2003-08-04 Dave Love [From Emacs.] @@ -17729,7 +17938,7 @@ * m4/sysexits.m4: New file. -2003-06-10 Simon Josefsson +2003-06-10 Simon Josefsson * lib/argp.h: New file, from glibc. * lib/argp-ba.c: New file, from glibc. @@ -20367,7 +20576,7 @@ * lib/Makefile.am (Makefile): Depend on $(BUILT_SOURCES), so those files will be created before anything else. -2001-11-17 Paul Eggert +2001-11-17 Paul Eggert * m4/jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define WINSIZE_IN_PTEM if defines struct winsize.