Log

Author Commit Date CI Message
Bruno Haible 3fc0d6e8 2006-10-09T12:26:13 Emphasize the drawbacks of the --symlink option.
Jim Meyering 55e4f9a3 2006-10-09T12:15:39 * fts-cycle.c (leave_dir): When "leaving" a top level directory due to FTS_SKIP, don't copy the parent's uninitialized dev/ino values. Trigger with e.g., mkdir d && valgrind ./chmod u+rwx d d
Jim Meyering 4c399534 2006-10-09T11:50:09 * lchown.c: Include <sys/stat.h> before "stat-macros.h". Patch from Bruno Haible.
Karl Berry 7a393218 2006-10-08T07:41:44 .
Paul Eggert e26f76c6 2006-10-08T07:29:24 Give credit to bug reporter.
Paul Eggert 74fcb057 2006-10-08T07:24:56 Don't include <config.h> twice; this doesn't work in some cases, e.g., when config.h has "#define intmax_t long long int" and we include <config.h>, <inttypes.h>, <config.h> in that order. * fprintftime.c: Don't include config.h or fprintftime.h. * fts-cycle.c: Don't include config.h. * strftime.c: Include fprintftime.h if FPRINTFTIME is defined. * xstrtoimax.c: Remove copyright notice since it's short tnow. Don't include config.h or xstrtol.h. Define STRTOL_T_MINIMUM and STRTOL_T_MAXIMUM unconditionally, since we now assume gnulib inttypes.h. * xstrtoumax.c: Likewise. * xstrtol.c: Include config.h and xstrtol.h after defining __strtol and the like, so that this module is more like its siblings. (STRTOL_T_MINIMUM, STRTOL_T_MAXIMUM) [! defined STRTOL_T_MINIMUM]: Remove; no longer needed now that we assume gnulib inttypes.h. 2006-10-07 Bruno Haible <bruno@clisp.org>
Jim Meyering 6981342b 2006-10-07T18:57:13 * modules/inttypes (inttypes.h): Revert what seems to have been an inadvertent part of today's change: use "|", not "/" in the substitution for the "/"-containing string, $(ABSOLUTE_INTTYPES_H).
Bruno Haible 57f74f7c 2006-10-07T17:53:15 Move Paolo's ChangeLog entry.
Eric Blake 8ff28f18 2006-10-07T17:38:54 Fix ChangeLog typo
Bruno Haible 12e04873 2006-10-07T15:21:52 Live on the diff-merge branch, not on HEAD.
Bruno Haible bc45ccc2 2006-10-07T15:20:20 Difference of two sequences.
Bruno Haible 7fef1769 2006-10-07T15:19:14 Fuzzy string comparison. Taken from GNU gettext.
Bruno Haible 3666de78 2006-10-07T15:18:43 Taken from diffutils/src/analyze.c
Bruno Haible 9779c750 2006-10-07T15:09:14 Comment changes.
Bruno Haible e8886c90 2006-10-07T14:54:51 Mark generated files as "DO NOT EDIT".
Bruno Haible c5ce79f4 2006-10-07T14:47:21 New module 'sublist'.
Karl Berry c11500c9 2006-10-07T07:42:41 .
Paul Eggert 02503869 2006-10-07T07:07:34 * mkancesdirs.c (mkancesdirs): Pass to MAKE_DIR both the full file name (relative to the original working directory) and the file name component (relative to the temporary working directory). All callers changed. * mkancesdirs.h (mkancesdirs): Adjust prototype to match. * mkdir-p.c (make_dir_parents): Likewise. * mkdir-p.h (make_dir_parents): Likewise. SCALAR(0x827b260) 2006-10-06 Bruno Haible <bruno@clisp.org>
Eric Blake 1e875448 2006-10-06T23:13:53 * clean-temp.h (close_stream_temp): New declaration. * clean-temp.c (includes): Pull in headers according to what other modules are in use. (close_stream_temp) [GNULIB_CLOSE_STREAM]: New function.
Eric Blake 84e40e97 2006-10-06T23:11:25 Define several macros for use by the clean-temp module. * close-stream.m4 (gl_CLOSE_STREAM): Define GNULIB_CLOSE_STREAM. * fcntl-safer.m4 (gl_FCNTL_SAFER): Define GNULIB_FCNTL_SAFER. * stdio-safer.m4 (gl_FOPEN_SAFER): Define GNULIB_FOPEN_SAFER.
Bruno Haible 05477f4d 2006-10-06T21:37:28 Return an error indicator.
Bruno Haible 0bf9d2e4 2006-10-06T21:20:20 Provide a fallback for PATH_MAX.
Jim Meyering 7193a969 2006-10-06T13:59:10 [ChangeLog] * modules/closeout (Description): Mention stderr too. [lib/ChangeLog] * closeout.c (close_stdout): Also close stderr. * closeout.h: Update comment.
Bruno Haible 07db72ec 2006-10-06T13:32:11 Ensure temp file is closed before its directory is removed.
Bruno Haible bd63935b 2006-10-06T12:17:22 Have clean-temp register file open descriptors to temporary files.
Bruno Haible fca2f939 2006-10-06T12:06:07 Add bounded list search operations.
Paul Eggert 4131c373 2006-10-05T22:49:57 [lib/ChangeLog] Fix some Darwin-7.9.0 porting problems reported by Bruno Haible in <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00063.html>. * dirchownmod.c: Include lchown.h. * lchown.c: Don't include files that lchown.h now includes. Don't declare chown, since lchown.h now does that. * lchown.h: Include errno.h, sys/types.h, unistd.h. (lchown): Define to rpl_chown if lchown is declared but does not exist. Declare using a prototype if lchown is not declared. Add a copyright notice. * mkstemp.h: Include <unistd.h>. * openat.c: Include lchown.h. [m4/ChangeLog] * lchown.m4 (gl_FUNC_LCHOWN): Check whether lchown is declared.
Paul Eggert 2e749d98 2006-10-05T21:38:10 [lib/ChangeLog] * fcntl_.h (O_NOFOLLOW): Don't depend on O_NOFOLLOW_IS_INEFFECTIVE; we now test for that separately. * fts.c (fts_safe_changedir): Inspect HAVE_WORKING_O_NOFOLLOW rather than O_NOFOLLOW, when testing whether it's possible to avoid a race condition reliably. * savewd.c (savewd_chdir): Likewise. [m4/ChangeLog] * fcntl_h.m4 (gl_FCNTL_H): Define HAVE_WORKING_O_NOFOLLOW instead of O_NOFOLLOW_IS_INEFFECTIVE. Define HAVE_WORKING_O_NOATIME if O_NOATIME works.
Karl Berry 29f6a5bd 2006-10-05T21:26:52 update from texinfo
Paul Eggert 44df621b 2006-10-05T21:23:20 Remove macros that are no longer needed now that stdint.h is reliable. * fsusage.c (UINTMAX_MAX): Remove. * human.c (SIZE_MAX, UINTMAX_MAX): Remove. * utimecmp.c (SIZE_MAX): Remove.
Bruno Haible 407400d9 2006-10-05T12:45:16 Add searching operations, limited to a subsequence of the list.
Bruno Haible b308a020 2006-10-05T12:40:48 Handle the Woe32 SIGBREAK too.
Bruno Haible 5c90f297 2006-10-04T17:28:15 Add a search_atleast operation.
Jim Meyering a7cc0db9 2006-10-04T17:21:22 * fts.c (fts_open): Tiny comment change.
Bruno Haible 757c49d5 2006-10-04T17:00:21 Whitespace normalization.
Bruno Haible 027f9be0 2006-10-04T16:59:33 Fix a weird typo.
Bruno Haible 79b6b4a1 2006-10-04T16:56:38 Fix return type.
Bruno Haible 5a0d317d 2006-10-04T16:54:24 Comment fixes.
Bruno Haible 5c5ae42a 2006-10-04T16:38:45 Make it possible to invoke AC_GNU_SOURCE after gl_LOCK_EARLY.
Jim Meyering bfa918cf 2006-10-04T08:24:26 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> * fts.c (fts_close, fts_build, fts_palloc): Remove redundant checks.
Karl Berry 5519776e 2006-10-03T07:41:39 .
Paul Eggert 241622b8 2006-10-03T06:33:39 * quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.
Eric Blake 8cbc71cc 2006-10-03T04:12:40 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use autoconf's definition in 2.60+.
Eric Blake 9544dafa 2006-10-03T04:01:46 * modules/strnlen (Depends-on): Add extensions.
Bruno Haible bd361ec7 2006-10-02T11:40:10 Don't use no-dependencies, since it's not the default in automake.
Karl Berry 8ccc0915 2006-09-30T07:38:29 .
Paul Eggert 75ff6c9d 2006-09-30T00:37:48 [lib/ChangeLog] Work around bug in Solaris 10 /proc file system: /proc/self/fd/NNN/.. isn't the parent directory of the directory whose file descriptor is NNN. This needs to be worked around at run time, not compile time, since a program might be built on Solaris 8, where things work, and run on Solaris 10. * openat-priv.h (BUILD_PROC_NAME): Remove. All callers changed to use the following interface instead: (OPENAT_BUFFER_SIZE): New macro. (openat_proc_name): New function. * at-func.c (AT_FUNC_NAME): Adjust to above changes. * openat.c (openat_permissive, openat_needs_fchdir, fdopendir): Likewise. * openat-proc.c: New file. [ChangeLog] * modules/openat (Files): Add lib/openat-proc.c. (Depends-on): Add same-inode, stdbool. [m4/ChangeLog] * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBOBJ(openat-proc).
Bruno Haible 9347e00e 2006-09-29T13:44:52 New function fwriteerror_no_ebadf.
Karl Berry 7f9ddd04 2006-09-29T07:39:02 .
Bruno Haible 07524cfe 2006-09-28T21:59:59 sed now also uses gnulib.
Bruno Haible 8da28082 2006-09-28T20:52:13 Simplify and document.
Bruno Haible 9c49d75f 2006-09-28T20:18:27 Avoid gcc warning at configure time.
Bruno Haible 8163bf0b 2006-09-28T20:00:51 Use the stdint module.
Paolo Bonzini ecd99cc8 2006-09-28T19:58:33 2006-09-28 Paolo Bonzini <bonzini@gnu.org> * lib/poll.c (rpl_poll) [__APPLE__]: Use FIONREAD instead of MSG_PEEK. * m4/poll.m4: Look for sys/ioctl.h and sys/filio.h.
Jim Meyering e3bc98c0 2006-09-28T16:27:11 fix typo
Jim Meyering 4690e55f 2006-09-28T12:18:58 * mkdir-p.c: Include "dirchownmod.h", not "dirchownmod.c". Include <unistd.h>.
Jim Meyering cdd246ab 2006-09-28T11:16:05 [lib/ChangeLog] This function could end up with a definition for a function named __strndup, rather than rpl_strndup on a system with incomplete weak_alias support. * strndup.c (strndup): Rename from __strndup. Remove #defines that used to map __strndup to strndup. Don't use K&R prototypes. Remove LIBC-related code, since this file is not sync'd with glibc. * strndup.h: Revamp, accordingly. [m4/ChangeLog] * strndup.m4: Modernize.
Paul Eggert ba6b2865 2006-09-27T18:25:47 * canon-host.c (canon_host_r): Work around bug in Darwin 7.9.0 getaddrinfo.
Paul Eggert 8e10ce2a 2006-09-27T17:59:19 [lib/ChangeLog] * __fpending.h: Don't include <stdio_ext.h> unless HAVE_DECL___FPENDING. This avoids a bug with lsbcc, where it causes <stdio_ext.h> to cause a compile-time error. Problem reported by Nelson H. F. Beebe. * getpass.c: Likewise, except for HAVE_DECL___FSETLOCKING instead of HAVE_DECL___PENDING. [m4/ChangeLog] * fpending.m4 (gl_FUNC_FPENDING): Check for stdio_ext at most once. * getpass.m4 (gl_PREREQ_GETPASS): Check for __fsetlocking's declaration.
Karl Berry 95ab9c0f 2006-09-27T07:37:50 .
Paul Eggert 68aa9462 2006-09-26T23:33:11 [ChangeLog] * modules/savewd (Depends-on): Add 'raise'. [lib/ChangeLog] * savewd.c: Include <signal.h>, for 'raise'.
Karl Berry a95060ba 2006-09-26T22:29:19 autoupdate
Bruno Haible 29efa491 2006-09-26T21:01:42 Tweak last patch, for symmetry.
Eric Blake fd59dbe9 2006-09-26T20:14:43 * verror.c: Include <config.h> unconditionally.
Jim Meyering 16e38548 2006-09-26T10:30:06 * acl.m4 (AC_FUNC_ACL): Disable ACL support altogether when we detect Darwin 8.7.0's acl_get_file bug. Rearrange to perform the new (below) run-test while $LIBS contains any acl-related library. Set USE_ACL at the end. (gl_ACL_GET_FILE): New function.
Karl Berry b1b1af01 2006-09-26T09:53:21 .
Paul Eggert 2a15b99b 2006-09-26T06:36:30 [ChangeLog] * modules/clock-time (Maintainer): Add self. * modules/getlogin_r (Depends-on): Add extensions. [m4/ChangeLog] * host-os.m4 (gl_HOST_OS): Require AC_CANONICAL_HOST.
Eric Blake ae56275c 2006-09-25T21:20:54 * gnulib-tool (func_import, func_create_testdir): Fix typos in 2006-09-18 patch.
Ralf Wildenhues ab9857c3 2006-09-25T21:03:05 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Rename cache variable from `gl_have_arbitrary_file_name_length_limit' to `gl_cv_have_arbitrary_file_name_length_limit', so that caching actually works between configure runs.
Ralf Wildenhues c90a7886 2006-09-25T17:35:50 * modules/clock-time: New module. * modules/nanosleep (Depends-on): Add clock-time. * modules/gethrxtime (Depends-on): Likewise. * modules/gettime (Depends-on): Likewise. * modules/settime (Depends-on): Likewise.
Ralf Wildenhues ea76b71d 2006-09-25T17:34:56 * modules/fts-lgpl: Depend on openat. * modules/mkancesdirs: Depend on savewd. * modules/mkdir-p: Likewise.
Jim Meyering b2a90596 2006-09-25T16:08:26 add "the" in a comment
Bruno Haible c920bcad 2006-09-25T14:40:44 Ensure stpncpy() is declared.
Jim Meyering 4f856991 2006-09-25T13:02:15 * fcntl_h.m4 (gl_FCNTL_H): Fix typo in test for failed open. This typo caused coreutils/tests/dd/misc to fail on Darwin 8.7.0.
Bruno Haible 958ec76a 2006-09-25T11:58:08 Oops, update error message also.
Karl Berry 075d74ab 2006-09-24T07:46:06 .
Jim Meyering 16613e01 2006-09-24T06:53:01 *** empty log message ***
Jim Meyering 3bb679d0 2006-09-24T06:49:03 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't use '>' to compare a pointer against a literal "0". That caused failures with at least HP-UX's hpcc.
Bruno Haible e1c5c749 2006-09-22T20:10:26 Avoid warning at configure time with "gcc -Wall".
Ralf Wildenhues e40cf4e4 2006-09-22T18:09:47 * fsusage.m4 (gl_STATFS_TRUNCATES): Avoid unused variable. * getdate.m4 (gl_C_COMPOUND_LITERALS): Likewise. * jm-winsz1.m4 (gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Likewise; also add missing comma that caused broken test. * link-follow.m4 (gl_AC_FUNC_LINK_FOLLOWS_SYMLINK): Include stdlib.h, for `abort'. * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Avoid unused variables. * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Check for and include unistd.h if present, for `rmdir'. * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): Avoid unused variables. * putenv.m4 (gl_FUNC_PUTENV): Rewrite using AC_RUN_IFELSE, and in the process include standard headers for prototypes. * readutmp.m4 (gl_READUTMP): Require AC_GNU_SOURCE, so utmpxname gets declared on GNU/Linux. * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Check for and include unistd.h, for `rmdir'. * time_r.m4 (gl_TIME_R): Avoid unused variables.
Ralf Wildenhues 9e6ff18c 2006-09-22T17:26:02 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Avoid expression that is always true. * strndup.m4 (gl_FUNC_STRNDUP): include stdlib.h, for `free'.
Ralf Wildenhues ad7e0cc9 2006-09-22T17:25:00 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Avoid gcc -Wall warnings.
Ralf Wildenhues fb16de01 2006-09-22T17:19:03 * modules/bison-i18n (Depends-on): Add gettext.
Ralf Wildenhues a42a50dc 2006-09-22T17:15:05 * gl_anylinked_list2.h [lint] (gl_linked_iterator) (gl_linked_iterator_from_to): Initialize struct completely. * gl_anytree_list2.h [lint] (gl_tree_iterator): Likewise. (gl_tree_iterator_from_to): Likewise * gl_anytree_oset.h [lint] (gl_tree_iterator): Likewise. * gl_array_list.c [lint] (gl_array_iterator) (gl_array_iterator_from_to): Likewise. * gl_array_oset.c [lint] (gl_array_iterator): Likewise. * gl_carray_list.c [lint] (gl_carray_iterator) (gl_carray_iterator_from_to): Likewise.
Ralf Wildenhues 8b50a885 2006-09-22T16:54:11 * gc-gnulib.c [GC_USE_HMAC_SHA1]: include hmac.h for hmac_sha1. * md4.c (md4_process_block): Remove unused variable. * rijndael-api-fst.c (rijndaelBlockDecrypt): GCC suggests parentheses for clarity.
Bruno Haible 69fd76cf 2006-09-22T15:43:18 Don't include the config-h module in megatestdir.
Simon Josefsson 46a6316f 2006-09-22T12:59:37 2006-09-22 Simon Josefsson <jas@extundo.com> * modules/gc-sha1: * modules/gc-md4: * modules/gc-hmac-sha1: * modules/gc-hmac-md5: * modules/gc-des: * modules/gc-arcfour: Distribute more files.
Bruno Haible b857fd90 2006-09-22T12:47:54 Pass to the gl_GETLOADAVG macro the $gl_source_base from gnulib-tool.
Ralf Wildenhues 8164fd6d 2006-09-22T03:10:42 * gnulib-tool (func_version): Create output all at once. This may help avoid triggering unnecessary SIGPIPEs, and at any rate it doesn't hurt.
Karl Berry 5efc6bfa 2006-09-21T21:39:23 autoupdate
Karl Berry e2b32fd0 2006-09-21T07:39:01 .
Paul Eggert 331f6ee7 2006-09-21T05:25:11 * lib/regex_internal.c (re_string_reconstruct): Handle offset < pstr->valid_raw_len && pstr->offsets_needed case. Ensure no bytes read before raw_mbs array. Pass a saved copy of pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to re_string_context_at. * m4/regex.m4 (gl_REGEX): Check for locale.h, since the test now requires it. (gl_PREREQ_REGEX): Don't check for locale.h any more, since gl_REGEX now does it for us. (gl_REGEX): Add test taken from http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html.
Paul Eggert be4552e7 2006-09-20T22:32:39 * modules/mkstemp (Files): Add mkstemp.h.
Bruno Haible cd40ac3e 2006-09-20T20:18:02 Merge from glibc.
Paul Eggert a05b35f4 2006-09-20T20:16:48 * mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>.
Paul Eggert 9c642850 2006-09-20T20:14:40 * mkstemp-safer.c: Include "mkstemp.h". (mkstemp): Remove, since mkstemp.h does this for us.
Paul Eggert 27e91a32 2006-09-20T18:48:29 Change mkstemp Include: section to refer to "mkstemp.h".
Paul Eggert 6b35600a 2006-09-20T18:44:04 [ChangeLog] * modules/mkstemp (Depends-on): Add extensions, so that mkstemp is visible on some platforms. (Makefile.am): Add mkstemp.h to EXTRA_DIST. [lib/ChangeLog] * mkstemp.h: New file, since some standard headers #define mkstemp. * mkstemp.c: Revamp to put the !_LIBC code together. Include "mkstemp.h". Make the _LIBC code resemble glibc original more, e.g., use K&R style. * stdlib--.h: Include mkstemp.h. [m4/ChangeLog] * mkstemp.m4 (gl_FUNC_MKSTEMP): Require AC_SYS_LARGEFILE. Check that large offsets work. Modernize Autoconf usages. Prefer "yes" to mean a good thing rather than a bad. Don't put "#define mkstemp" in config.h, as this might interfere with standard system headers that "#define mkstemp mkstemp64".
Paul Eggert d00ac15a 2006-09-20T18:38:14 * tempname.c (__gen_tempname): Change attempts_min into a macro. Use preprocessor to decide how to initialize attempts [Coverity CID 67].
Karl Berry 06a3032f 2006-09-20T12:28:22 missed commit.