platform/upstream/coreutils.git
20 years ago*** empty log message ***
Jim Meyering [Thu, 27 Nov 2003 08:18:45 +0000 (08:18 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 27 Nov 2003 08:17:47 +0000 (08:17 +0000)]
*** empty log message ***

20 years agoInclude "c-strtod.h".
Jim Meyering [Thu, 27 Nov 2003 08:17:35 +0000 (08:17 +0000)]
Include "c-strtod.h".
(parse_options): Update xstrtod call to include new argument, c_strtod.

20 years agoInclude "c-strtod.h".
Jim Meyering [Thu, 27 Nov 2003 08:16:38 +0000 (08:16 +0000)]
Include "c-strtod.h".
(main): Update xstrtod call to include new argument, c_strtod.

20 years agoInclude "c-strtod.h".
Jim Meyering [Thu, 27 Nov 2003 08:14:39 +0000 (08:14 +0000)]
Include "c-strtod.h".
(scan_double_arg): Update xstrtod call to include new argument, c_strtod.

20 years agoRemove decls of strtod, strtol, strtoul; no longer
Jim Meyering [Thu, 27 Nov 2003 08:02:18 +0000 (08:02 +0000)]
Remove decls of strtod, strtol, strtoul; no longer
needed now that we assume C89.  Include "c-strtod.h".
(xstrtod): Call c_strtod, not strtod.

20 years ago.
Jim Meyering [Thu, 27 Nov 2003 08:00:12 +0000 (08:00 +0000)]
.

20 years agoTweak mark-up to use @env, not @code in a few places.
Jim Meyering [Thu, 27 Nov 2003 07:58:32 +0000 (07:58 +0000)]
Tweak mark-up to use @env, not @code in a few places.
Mark new use of LC_NUMERIC.

20 years ago*** empty log message ***
Jim Meyering [Thu, 27 Nov 2003 07:52:48 +0000 (07:52 +0000)]
*** empty log message ***

20 years agoParse floating-point operands and options in the C locale.
Jim Meyering [Thu, 27 Nov 2003 07:52:45 +0000 (07:52 +0000)]
Parse floating-point operands and options in the C locale.
POSIX requires this for printf, and we might as well be
consistent elsewhere (tail, sleep, seq).

(tail invocation, printf invocation,
sleep invocation, seq invocation): Document this.

20 years ago.
Jim Meyering [Thu, 27 Nov 2003 07:48:35 +0000 (07:48 +0000)]
.

20 years ago(xstrtod): Accept an extra arg, specifying the conversion function.
Jim Meyering [Thu, 27 Nov 2003 07:48:21 +0000 (07:48 +0000)]
(xstrtod): Accept an extra arg, specifying the conversion function.
Don't include stdlib.h; no longer needed.

20 years ago(xstrtod): Accept an extra arg, specifying the conversion function.
Jim Meyering [Thu, 27 Nov 2003 07:47:22 +0000 (07:47 +0000)]
(xstrtod): Accept an extra arg, specifying the conversion function.

20 years agonew files, from Paul Eggert
Jim Meyering [Thu, 27 Nov 2003 07:46:01 +0000 (07:46 +0000)]
new files, from Paul Eggert

20 years ago(libfetish_a_SOURCES): Add c-strtod.c, c-strtod.h.
Jim Meyering [Thu, 27 Nov 2003 07:43:11 +0000 (07:43 +0000)]
(libfetish_a_SOURCES): Add c-strtod.c, c-strtod.h.

20 years agoDon't include xstrtod.h; it's not needed.
Jim Meyering [Thu, 27 Nov 2003 07:42:03 +0000 (07:42 +0000)]
Don't include xstrtod.h; it's not needed.

20 years ago(Traversing symlinks): Rearrange things.
Jim Meyering [Wed, 26 Nov 2003 11:21:28 +0000 (11:21 +0000)]
(Traversing symlinks): Rearrange things.
(chown invocation): Add xrefs to `Traversing symlinks' for -H, -P, -L.
(chgrp invocation): Likewise.

20 years ago*** empty log message ***
Jim Meyering [Mon, 24 Nov 2003 10:58:20 +0000 (10:58 +0000)]
*** empty log message ***

20 years ago(Traversing symlinks, Treating / specially): New sections.
Jim Meyering [Mon, 24 Nov 2003 10:58:08 +0000 (10:58 +0000)]
(Traversing symlinks, Treating / specially): New sections.
(rm invocation, chown invocation, chmod invocation, chgrp invocation):
Describe new options, --preserve-root and --no-preserve-root.

20 years agosync with version from autoconf
Jim Meyering [Mon, 24 Nov 2003 09:07:34 +0000 (09:07 +0000)]
sync with version from autoconf

20 years ago*** empty log message ***
Jim Meyering [Mon, 24 Nov 2003 08:06:04 +0000 (08:06 +0000)]
*** empty log message ***

20 years agoHandle another errno variant (HPUX, EPERM).
Jim Meyering [Mon, 24 Nov 2003 08:05:25 +0000 (08:05 +0000)]
Handle another errno variant (HPUX, EPERM).

20 years ago*** empty log message ***
Jim Meyering [Mon, 24 Nov 2003 08:05:02 +0000 (08:05 +0000)]
*** empty log message ***

20 years agoupgrade to automake-1.7d
Jim Meyering [Mon, 24 Nov 2003 08:01:57 +0000 (08:01 +0000)]
upgrade to automake-1.7d

20 years ago*** empty log message ***
Jim Meyering [Sat, 22 Nov 2003 15:10:22 +0000 (15:10 +0000)]
*** empty log message ***

20 years ago(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.
Jim Meyering [Sat, 22 Nov 2003 15:08:19 +0000 (15:08 +0000)]
(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.

20 years ago*** empty log message ***
Jim Meyering [Sat, 22 Nov 2003 14:34:12 +0000 (14:34 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 22 Nov 2003 14:34:04 +0000 (14:34 +0000)]
*** empty log message ***

20 years ago(sc_xalloc_h_in_src): Remove rule. Subsumed by...
Jim Meyering [Sat, 22 Nov 2003 14:33:57 +0000 (14:33 +0000)]
(sc_xalloc_h_in_src): Remove rule.  Subsumed by...
(sc_system_h_headers): Do this test only if sys2.h exists.

20 years ago.
Jim Meyering [Fri, 21 Nov 2003 13:42:54 +0000 (13:42 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Fri, 21 Nov 2003 08:21:28 +0000 (08:21 +0000)]
*** empty log message ***

20 years ago(xreadlink): Correct outdated comment.
Jim Meyering [Fri, 21 Nov 2003 08:21:23 +0000 (08:21 +0000)]
(xreadlink): Correct outdated comment.

20 years ago*** empty log message ***
Jim Meyering [Thu, 20 Nov 2003 08:08:36 +0000 (08:08 +0000)]
*** empty log message ***

20 years agoEnsure that the bug-reporting address is
Jim Meyering [Thu, 20 Nov 2003 08:08:24 +0000 (08:08 +0000)]
Ensure that the bug-reporting address is
included in the --help output for every program.

20 years ago(TESTS_ENVIRONMENT): Add $PACKAGE_BUGREPORT.
Jim Meyering [Thu, 20 Nov 2003 08:03:50 +0000 (08:03 +0000)]
(TESTS_ENVIRONMENT): Add $PACKAGE_BUGREPORT.

20 years ago*** empty log message ***
Jim Meyering [Thu, 20 Nov 2003 07:57:33 +0000 (07:57 +0000)]
*** empty log message ***

20 years ago(usage): Output bug-reporting address.
Jim Meyering [Thu, 20 Nov 2003 07:57:24 +0000 (07:57 +0000)]
(usage): Output bug-reporting address.

20 years ago(usage): Mention that FILE1 and FILE2 must be sorted
Jim Meyering [Wed, 19 Nov 2003 23:04:20 +0000 (23:04 +0000)]
(usage): Mention that FILE1 and FILE2 must be sorted
on the join fields.  Suggestion from Bruce Robertson.

20 years ago*** empty log message ***
Jim Meyering [Wed, 19 Nov 2003 07:27:07 +0000 (07:27 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 19 Nov 2003 07:26:35 +0000 (07:26 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 16:18:35 +0000 (16:18 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 16:18:25 +0000 (16:18 +0000)]
*** empty log message ***

20 years ago`od -c -w9999999' could segfault
Jim Meyering [Tue, 18 Nov 2003 16:17:00 +0000 (16:17 +0000)]
`od -c -w9999999' could segfault

(dump): Use xnmalloc/free, not alloca.

20 years ago*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 11:37:35 +0000 (11:37 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 10:06:19 +0000 (10:06 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Mon, 17 Nov 2003 16:13:56 +0000 (16:13 +0000)]
.

20 years ago.
Jim Meyering [Mon, 17 Nov 2003 16:13:32 +0000 (16:13 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 17 Nov 2003 16:13:08 +0000 (16:13 +0000)]
*** empty log message ***

20 years agoOn systems without utime and without a utimes function capable of
Jim Meyering [Mon, 17 Nov 2003 16:13:04 +0000 (16:13 +0000)]
On systems without utime and without a utimes function capable of
dealing with a NULL struct utimbuf* argument, this utime replacement
could -- in unusual circumstances -- leak a file descriptor.

Include <unistd.h> and <errno.h>.
(utime_null): Be sure to close `fd' and to preserve errno.

20 years ago*** empty log message ***
Jim Meyering [Mon, 17 Nov 2003 13:46:34 +0000 (13:46 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 21:12:56 +0000 (21:12 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 21:12:47 +0000 (21:12 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Sun, 16 Nov 2003 18:14:45 +0000 (18:14 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 14:13:13 +0000 (14:13 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 14:12:04 +0000 (14:12 +0000)]
*** empty log message ***

20 years agoMinor tweak: use mkdir -p.
Jim Meyering [Sun, 16 Nov 2003 14:11:59 +0000 (14:11 +0000)]
Minor tweak: use mkdir -p.

20 years ago.
Jim Meyering [Sun, 16 Nov 2003 14:02:03 +0000 (14:02 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 12:26:02 +0000 (12:26 +0000)]
*** empty log message ***

20 years agoFix read-from-free'd-buffer error detected by valgrind.
Jim Meyering [Sun, 16 Nov 2003 12:25:35 +0000 (12:25 +0000)]
Fix read-from-free'd-buffer error detected by valgrind.

(remove_line): Don't return a pointer to data in
a freed buffer.  Instead, arrange to free the buffer on the
subsequent call.

20 years agoAdd test to detect this.
Jim Meyering [Sun, 16 Nov 2003 11:52:08 +0000 (11:52 +0000)]
Add test to detect this.
This would fail due to reading from freed buffer with coreutils-5.0.91.

20 years ago*** empty log message ***
Jim Meyering [Thu, 13 Nov 2003 07:45:25 +0000 (07:45 +0000)]
*** empty log message ***

20 years agoUpdate from gnulib.
Jim Meyering [Thu, 13 Nov 2003 07:45:20 +0000 (07:45 +0000)]
Update from gnulib.

20 years agoUpdate from gnulib.
Jim Meyering [Thu, 13 Nov 2003 07:45:00 +0000 (07:45 +0000)]
Update from gnulib.

20 years ago(extract_dirs_from_files): Avoid useless copy operations.
Jim Meyering [Wed, 12 Nov 2003 09:23:03 +0000 (09:23 +0000)]
(extract_dirs_from_files): Avoid useless copy operations.
This avoids a warning valgrind about memcpy with overlapping
source and destination.

20 years ago*** empty log message ***
Jim Meyering [Tue, 11 Nov 2003 12:42:09 +0000 (12:42 +0000)]
*** empty log message ***

20 years ago(@chownchgrpoptions): add index entry for this.
Jim Meyering [Tue, 11 Nov 2003 12:42:02 +0000 (12:42 +0000)]
(@chownchgrpoptions): add index entry for this.

20 years ago(chown invocation) [chownchgrpoptions]: New macro
Jim Meyering [Tue, 11 Nov 2003 12:38:07 +0000 (12:38 +0000)]
(chown invocation) [chownchgrpoptions]: New macro
describing -H, -L, -P options.  Use it here.
(chgrp invocation): And here.

20 years agoRequire automake-1.7.8.
Jim Meyering [Tue, 11 Nov 2003 12:35:49 +0000 (12:35 +0000)]
Require automake-1.7.8.

20 years agono longer used -- replaced by fts*.[ch]
Jim Meyering [Tue, 11 Nov 2003 12:21:38 +0000 (12:21 +0000)]
no longer used -- replaced by fts*.[ch]

20 years ago*** empty log message ***
Jim Meyering [Tue, 11 Nov 2003 12:21:12 +0000 (12:21 +0000)]
*** empty log message ***

20 years agoupdate from gnulib
Jim Meyering [Tue, 11 Nov 2003 07:13:26 +0000 (07:13 +0000)]
update from gnulib

20 years ago*** empty log message ***
Jim Meyering [Tue, 11 Nov 2003 07:07:00 +0000 (07:07 +0000)]
*** empty log message ***

20 years agoUpdate from gnulib.
Jim Meyering [Tue, 11 Nov 2003 07:06:53 +0000 (07:06 +0000)]
Update from gnulib.

20 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:19:43 +0000 (21:19 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Sun, 9 Nov 2003 21:19:18 +0000 (21:19 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:18:35 +0000 (21:18 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:16:27 +0000 (21:16 +0000)]
*** empty log message ***

20 years ago(libfetish_a_SOURCES): Add root-dev-ino.c root-dev-ino.h.
Jim Meyering [Sun, 9 Nov 2003 21:16:01 +0000 (21:16 +0000)]
(libfetish_a_SOURCES): Add root-dev-ino.c root-dev-ino.h.

20 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:15:19 +0000 (21:15 +0000)]
*** empty log message ***

20 years agoAdd lib/root-dev-ino.h.
Jim Meyering [Sun, 9 Nov 2003 21:15:16 +0000 (21:15 +0000)]
Add lib/root-dev-ino.h.

20 years agoInclude <sys/types.h> and <sys/stat.h>.
Jim Meyering [Sun, 9 Nov 2003 21:10:55 +0000 (21:10 +0000)]
Include <sys/types.h> and <sys/stat.h>.

20 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:10:15 +0000 (21:10 +0000)]
*** empty log message ***

20 years agoSupport new options: --preserve-root and --no-preserve-root.
Jim Meyering [Sun, 9 Nov 2003 21:10:11 +0000 (21:10 +0000)]
Support new options: --preserve-root and --no-preserve-root.

20 years agoSupport new options: --preserve-root and --no-preserve-root.
Jim Meyering [Sun, 9 Nov 2003 21:09:27 +0000 (21:09 +0000)]
Support new options: --preserve-root and --no-preserve-root.

20 years agoInclude "root-dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 21:07:31 +0000 (21:07 +0000)]
Include "root-dev-ino.h".
(chopt_init): Initialize new member.
(change_file_owner): Support rm's new --preserve-root option.

20 years agoInclude "root-dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 21:06:16 +0000 (21:06 +0000)]
Include "root-dev-ino.h".
(remove_cwd_entries): Remove now-obsolete FIXME comment.
(remove_dir): Support rm's new --preserve-root option.

20 years ago(usage): Describe new options.
Jim Meyering [Sun, 9 Nov 2003 21:04:20 +0000 (21:04 +0000)]
(usage): Describe new options.

20 years ago(usage): Describe new options.
Jim Meyering [Sun, 9 Nov 2003 21:03:57 +0000 (21:03 +0000)]
(usage): Describe new options.

20 years agoInclude "root-dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 20:53:21 +0000 (20:53 +0000)]
Include "root-dev-ino.h".
(process_file): Use newly-factored-out ROOT_DEV_INO_CHECK and
ROOT_DEV_INO_WARN macros.
(get_root_dev_ino): Remove function definition, now that it's
been moved to a separate file.

20 years agoInitialized new member.
Jim Meyering [Sun, 9 Nov 2003 20:50:37 +0000 (20:50 +0000)]
Initialized new member.

20 years ago.
Jim Meyering [Sun, 9 Nov 2003 20:49:58 +0000 (20:49 +0000)]
.

20 years agoInclude "dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 20:47:54 +0000 (20:47 +0000)]
Include "dev-ino.h".
(struct rm_options): Add new member: root_dev_ino.

20 years agoInclude "dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 20:47:15 +0000 (20:47 +0000)]
Include "dev-ino.h".
(struct Chown_option): Add new member: root_dev_ino.

20 years ago.
Jim Meyering [Sun, 9 Nov 2003 20:16:31 +0000 (20:16 +0000)]
.

20 years ago(dd invocation): Fix typo in example.
Jim Meyering [Sun, 9 Nov 2003 07:21:47 +0000 (07:21 +0000)]
(dd invocation): Fix typo in example.

20 years ago*** empty log message ***
Jim Meyering [Sat, 8 Nov 2003 13:26:25 +0000 (13:26 +0000)]
*** empty log message ***

20 years agoSync from gnulib (this file was previously empty,
Jim Meyering [Sat, 8 Nov 2003 13:26:21 +0000 (13:26 +0000)]
Sync from gnulib (this file was previously empty,
to work around some sort of problem).

20 years ago.
Jim Meyering [Sat, 8 Nov 2003 13:25:10 +0000 (13:25 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sat, 8 Nov 2003 13:24:18 +0000 (13:24 +0000)]
*** empty log message ***

20 years ago(jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
Jim Meyering [Sat, 8 Nov 2003 13:24:12 +0000 (13:24 +0000)]
(jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
value, $ac_cv_search_nanosleep, if it's "none required".