platform/upstream/coreutils.git
20 years ago*** empty log message ***
Jim Meyering [Sun, 22 Feb 2004 15:37:54 +0000 (15:37 +0000)]
*** empty log message ***

20 years ago(du invocation): Mention that using du's -H option currently evokes a warning.
Jim Meyering [Sun, 22 Feb 2004 15:37:50 +0000 (15:37 +0000)]
(du invocation): Mention that using du's -H option currently evokes a warning.

20 years ago(VERSION): bump to 5.2.1
Jim Meyering [Sun, 22 Feb 2004 14:57:52 +0000 (14:57 +0000)]
(VERSION): bump to 5.2.1

20 years agoadd tests for just-fixed bugs
Jim Meyering [Sun, 22 Feb 2004 14:57:20 +0000 (14:57 +0000)]
add tests for just-fixed bugs

20 years ago(eval, eval7, eval6, eval5, eval4, eval3, eval2, eval1):
Jim Meyering [Sun, 22 Feb 2004 14:56:58 +0000 (14:56 +0000)]
(eval, eval7, eval6, eval5, eval4, eval3, eval2, eval1):
Accept a bool argument specifying whether to evaluate the
expression.  This is to allow short-circuit evaluation.  All
callers changed.
(null): Report that a string is zero even if it has
a form like "-0" or "00".
(eval1, eval): Use short-circuit evaluation for | and &.
(eval): Return 0 if both arguments are null or zero, instead
of returning the first argument.

20 years ago.
Jim Meyering [Sun, 22 Feb 2004 14:56:39 +0000 (14:56 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sat, 21 Feb 2004 09:31:24 +0000 (09:31 +0000)]
*** empty log message ***

20 years ago(expr invocation):
Jim Meyering [Sat, 21 Feb 2004 09:31:11 +0000 (09:31 +0000)]
(expr invocation):
Document what forms integers may take, and say "integer"
consistently instead of "number".  Warn about operands
that "expr" can misinterpret, and how to work around the problem.

20 years ago*** empty log message ***
Jim Meyering [Sat, 21 Feb 2004 09:26:56 +0000 (09:26 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 21 Feb 2004 09:21:20 +0000 (09:21 +0000)]
*** empty log message ***

20 years ago(usage): Tell what comm does when there are no options.
Jim Meyering [Sat, 21 Feb 2004 09:21:15 +0000 (09:21 +0000)]
(usage): Tell what comm does when there are no options.
Reword in terms of FILE1 and FILE2 rather than `left file' and
`right file'.  Suggestion from Dan Jacobson.

20 years ago.
Jim Meyering [Thu, 19 Feb 2004 18:22:13 +0000 (18:22 +0000)]
.

20 years ago*** empty log message *** COREUTILS-5_2_0 v5.2.0
Jim Meyering [Thu, 19 Feb 2004 18:04:33 +0000 (18:04 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 18 Feb 2004 18:00:17 +0000 (18:00 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 18 Feb 2004 17:57:42 +0000 (17:57 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Wed, 18 Feb 2004 17:49:59 +0000 (17:49 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Wed, 18 Feb 2004 13:50:42 +0000 (13:50 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 17 Feb 2004 18:17:27 +0000 (18:17 +0000)]
*** empty log message ***

20 years ago(csplit invocation): Correct typo s/LINE/N/
Jim Meyering [Tue, 17 Feb 2004 18:16:29 +0000 (18:16 +0000)]
(csplit invocation): Correct typo s/LINE/N/
in description of `N' pattern.

20 years ago*** empty log message ***
Jim Meyering [Tue, 17 Feb 2004 16:05:41 +0000 (16:05 +0000)]
*** empty log message ***

20 years agoAdd id's -u option, so we don't get spurious
Jim Meyering [Tue, 17 Feb 2004 16:05:34 +0000 (16:05 +0000)]
Add id's -u option, so we don't get spurious
failures when there are no user or group names.

20 years ago`make check' from a build inside a chroot environment would fail
Jim Meyering [Tue, 17 Feb 2004 14:42:47 +0000 (14:42 +0000)]
`make check' from a build inside a chroot environment would fail

Specify an argument (`/') for df, in the
unusual event that there is no valid entry in /etc/mtab.
Patch by Tim Waugh.

20 years ago*** empty log message ***
Jim Meyering [Tue, 17 Feb 2004 10:53:47 +0000 (10:53 +0000)]
*** empty log message ***

20 years ago(usage) [-u]: Add punctuation so that the description in
Jim Meyering [Tue, 17 Feb 2004 10:52:49 +0000 (10:52 +0000)]
(usage) [-u]: Add punctuation so that the description in
the help2man-generated (line-joined) man page is more readable.
Reported by Tim Waugh.
[-T]: Add a semicolon, for the same reason.

20 years ago*** empty log message ***
Jim Meyering [Sun, 15 Feb 2004 00:03:28 +0000 (00:03 +0000)]
*** empty log message ***

20 years ago(dist-hook): Qualify target with $(srcdir)/ prefix.
Jim Meyering [Sun, 15 Feb 2004 00:03:21 +0000 (00:03 +0000)]
(dist-hook): Qualify target with $(srcdir)/ prefix.

20 years ago.
Jim Meyering [Sat, 14 Feb 2004 13:40:02 +0000 (13:40 +0000)]
.

20 years agoregenerate from patched Makefile.am.in
Jim Meyering [Wed, 11 Feb 2004 15:33:38 +0000 (15:33 +0000)]
regenerate from patched Makefile.am.in

20 years ago*** empty log message ***
Jim Meyering [Wed, 11 Feb 2004 11:46:37 +0000 (11:46 +0000)]
*** empty log message ***

20 years ago($(srcdir)/Makefile.am): Use more portable
Jim Meyering [Wed, 11 Feb 2004 11:46:34 +0000 (11:46 +0000)]
($(srcdir)/Makefile.am): Use more portable
$(srcdir)/../Makefile.am.in, rather than $<.
Suggestion from Michael Elizabeth Chastain.

20 years ago*** empty log message ***
Jim Meyering [Wed, 11 Feb 2004 11:45:47 +0000 (11:45 +0000)]
*** empty log message ***

20 years ago(Formatting the file names):
Jim Meyering [Wed, 11 Feb 2004 11:22:18 +0000 (11:22 +0000)]
(Formatting the file names):
Improve wording for --quoting-style documentation.
Suggestions by Bruno Haible.

20 years agorevert unrelated (ls --quoting-style) part of last change
Jim Meyering [Wed, 11 Feb 2004 08:44:39 +0000 (08:44 +0000)]
revert unrelated (ls --quoting-style) part of last change

20 years ago*** empty log message ***
Jim Meyering [Wed, 11 Feb 2004 08:42:43 +0000 (08:42 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 11 Feb 2004 08:42:36 +0000 (08:42 +0000)]
*** empty log message ***

20 years ago(Time directives): The %s value *is* changed by the
Jim Meyering [Wed, 11 Feb 2004 08:42:31 +0000 (08:42 +0000)]
(Time directives): The %s value *is* changed by the
--date=DATE option; don't say otherwise.  Patch from Padraig Brady.

20 years agobump to 5.2.0
Jim Meyering [Tue, 10 Feb 2004 10:06:53 +0000 (10:06 +0000)]
bump to 5.2.0

20 years ago.
Jim Meyering [Tue, 10 Feb 2004 10:06:39 +0000 (10:06 +0000)]
.

20 years ago.
Jim Meyering [Tue, 10 Feb 2004 09:54:25 +0000 (09:54 +0000)]
.

20 years ago.
Jim Meyering [Tue, 10 Feb 2004 08:34:44 +0000 (08:34 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 10 Feb 2004 08:17:47 +0000 (08:17 +0000)]
*** empty log message ***

20 years ago(dist-hook): New target, to ensure that config/install-sh
Jim Meyering [Tue, 10 Feb 2004 08:17:33 +0000 (08:17 +0000)]
(dist-hook): New target, to ensure that config/install-sh
is executable.  Otherwise, on systems that lack a suitable install
binary, `make install' would fail, because of the way this script
is invoked (without `$SHELL ' prefix).

20 years ago*** empty log message ***
Jim Meyering [Tue, 10 Feb 2004 07:54:16 +0000 (07:54 +0000)]
*** empty log message ***

20 years agoHyphenate `three-column' when used as an adjective.
Jim Meyering [Mon, 9 Feb 2004 17:41:16 +0000 (17:41 +0000)]
Hyphenate `three-column' when used as an adjective.

20 years ago.
Jim Meyering [Sun, 8 Feb 2004 15:42:07 +0000 (15:42 +0000)]
.

20 years ago. COREUTILS-5_1_3 v5.1.3
Jim Meyering [Sun, 8 Feb 2004 10:01:30 +0000 (10:01 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 8 Feb 2004 10:00:58 +0000 (10:00 +0000)]
*** empty log message ***

20 years agoAvoid triggering a bug in OSF/Tru64's sed
Jim Meyering [Sun, 8 Feb 2004 10:00:38 +0000 (10:00 +0000)]
Avoid triggering a bug in OSF/Tru64's sed
that would cause an unwarranted test failure.

20 years ago*** empty log message ***
Jim Meyering [Sat, 7 Feb 2004 20:41:30 +0000 (20:41 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 7 Feb 2004 16:01:58 +0000 (16:01 +0000)]
*** empty log message ***

20 years ago(cp_option_init): Don't initialize xstat member.
Jim Meyering [Sat, 7 Feb 2004 16:01:39 +0000 (16:01 +0000)]
(cp_option_init): Don't initialize xstat member.

20 years ago(cp_option_init): Likewise.
Jim Meyering [Sat, 7 Feb 2004 16:01:31 +0000 (16:01 +0000)]
(cp_option_init): Likewise.

20 years ago(re_protect): Use `XSTAT (x, ...)' in place of `*(x->xstat) (...)'.
Jim Meyering [Sat, 7 Feb 2004 16:01:20 +0000 (16:01 +0000)]
(re_protect): Use `XSTAT (x, ...)' in place of `*(x->xstat) (...)'.
(do_copy): Declare/use local xstat rather than x->xstat.
(main): Remove code that set x.xstat.

20 years agoRemove xstat function pointer member. The way it was used was not
Jim Meyering [Sat, 7 Feb 2004 16:01:02 +0000 (16:01 +0000)]
Remove xstat function pointer member.  The way it was used was not
portable, since some systems (OSF V5.1, Solaris 2.5.1) provide static
inline `stat' and `lstat' functions, thus making the tests of
`xstat == lstat' in copy.c always fail.

(struct cp_options) [xstat]: Remove member.
(XSTAT): New macro.

20 years agoRemove xstat function pointer member. The way it was used was not
Jim Meyering [Sat, 7 Feb 2004 16:00:28 +0000 (16:00 +0000)]
Remove xstat function pointer member.  The way it was used was not
portable, since some systems (OSF V5.1, Solaris 2.5.1) provide static
inline `stat' and `lstat' functions, thus making the tests of
`xstat == lstat' in copy.c always fail.

(copy_dir): Set `.dereference' member, not .xstat.
(copy_internal): Use `XSTAT (x, ...)' in place of `*(x->xstat) (...)'.
Use `x->dereference == DEREF_NEVER' in place of `x->xstat == lstat'.
(valid_options): Remove now-obsolete FIXME comments.

20 years ago.
Jim Meyering [Sat, 7 Feb 2004 15:32:55 +0000 (15:32 +0000)]
.

20 years ago.
Jim Meyering [Sat, 7 Feb 2004 14:04:23 +0000 (14:04 +0000)]
.

20 years ago.
Jim Meyering [Sat, 7 Feb 2004 13:49:13 +0000 (13:49 +0000)]
.

20 years ago(gnu_ftp_host-alpha, etc.): Un-factor .gnu.org suffix,
Jim Meyering [Sat, 7 Feb 2004 13:49:03 +0000 (13:49 +0000)]
(gnu_ftp_host-alpha, etc.): Un-factor .gnu.org suffix,
so that emit_upload_commands can use these variables, too.

20 years ago(emit_upload_commands): new target
Jim Meyering [Sat, 7 Feb 2004 13:47:41 +0000 (13:47 +0000)]
(emit_upload_commands): new target
(alpha beta major): `$(MAKE)' it.

20 years ago.
Jim Meyering [Sat, 7 Feb 2004 12:04:24 +0000 (12:04 +0000)]
.

20 years ago.
Jim Meyering [Sat, 7 Feb 2004 11:47:01 +0000 (11:47 +0000)]
.

20 years agoadd missing quote
Jim Meyering [Sat, 7 Feb 2004 11:46:00 +0000 (11:46 +0000)]
add missing quote

20 years ago.
Jim Meyering [Sat, 7 Feb 2004 10:05:30 +0000 (10:05 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sat, 7 Feb 2004 09:49:54 +0000 (09:49 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 6 Feb 2004 16:47:52 +0000 (16:47 +0000)]
*** empty log message ***

20 years agoRemove `du' stack space test.
Jim Meyering [Fri, 6 Feb 2004 16:47:07 +0000 (16:47 +0000)]
Remove `du' stack space test.
Apparently, `ulimit -s N' isn't portable enough.
This test will be restored (with a guard against losing ulimit)
in its own file later.

20 years agoremove stray `done' diagnostic
Jim Meyering [Fri, 6 Feb 2004 16:45:09 +0000 (16:45 +0000)]
remove stray `done' diagnostic

20 years ago*** empty log message ***
Jim Meyering [Fri, 6 Feb 2004 15:26:15 +0000 (15:26 +0000)]
*** empty log message ***

20 years ago(deep): Remove progress-style diagnostics,
Jim Meyering [Fri, 6 Feb 2004 15:26:12 +0000 (15:26 +0000)]
(deep): Remove progress-style diagnostics,
since this test doesn't take long enough to merit them.
Run du on $tmp (the containing dir), not $deep, the full path to leaf.

20 years ago*** empty log message ***
Jim Meyering [Fri, 6 Feb 2004 10:39:01 +0000 (10:39 +0000)]
*** empty log message ***

20 years ago(signatures): Remove definition.
Jim Meyering [Fri, 6 Feb 2004 10:38:57 +0000 (10:38 +0000)]
(signatures): Remove definition.
Now, automake's gnupload handles this.
(%.sig: %): Remove now-unused rule.
(rel-files): Use automake's $(DIST_ARCHIVES), rather than
`$(distdir).tar.bz2 $(distdir).tar.gz'.
(emit-upload-commands): Adjust to use gnupload.

20 years ago(human_time): Correct merge problem.
Jim Meyering [Thu, 5 Feb 2004 13:46:41 +0000 (13:46 +0000)]
(human_time): Correct merge problem.

20 years ago*** empty log message ***
Jim Meyering [Thu, 5 Feb 2004 09:52:30 +0000 (09:52 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 5 Feb 2004 09:51:54 +0000 (09:51 +0000)]
*** empty log message ***

20 years agoDon't dump core if localtime returns NULL (possible on
Jim Meyering [Thu, 5 Feb 2004 09:51:49 +0000 (09:51 +0000)]
Don't dump core if localtime returns NULL (possible on
hosts with 64-bit time_t and 32-bit int).

Print "??" if the current clock can't
be converted by localtime.  This won't happen until the year
2*31 + 1900, but we don't want to dump core even if the current
clock has the wrong value.

20 years agoDon't dump core if localtime returns NULL (possible on
Jim Meyering [Thu, 5 Feb 2004 09:50:18 +0000 (09:50 +0000)]
Don't dump core if localtime returns NULL (possible on
hosts with 64-bit time_t and 32-bit int).

Include "inttostr.h".
(batch_convert, main):
If time conversion fails, exit with nonzero status.
(show_date): Return int to report conversion failure.
Print the time as an int if localtime fails.

20 years agoInclude "inttostr.h".
Jim Meyering [Thu, 5 Feb 2004 09:47:01 +0000 (09:47 +0000)]
Include "inttostr.h".
(human_time): Print the date/time as a number of seconds since the
epoch if it can't be converted by localtime.  This is better than
just saying "invalid", and is consistent with what "ls" does.
Don't dump core if the year has more than 48 digits; this isn't
possible on any contemporary host, but we might as well do it right.

20 years ago*** empty log message ***
Jim Meyering [Thu, 5 Feb 2004 09:35:02 +0000 (09:35 +0000)]
*** empty log message ***

20 years ago(human_time): Accept time rather than pointer-to-const-time parameter,
Jim Meyering [Thu, 5 Feb 2004 09:34:33 +0000 (09:34 +0000)]
(human_time): Accept time rather than pointer-to-const-time parameter,
for clarity.  All callers changed.

20 years ago(ST_TIME_CMP_NS, ST_TIME_CMP): Define.
Jim Meyering [Thu, 5 Feb 2004 09:28:22 +0000 (09:28 +0000)]
(ST_TIME_CMP_NS, ST_TIME_CMP): Define.
(ATIME_CMP, CTIME_CMP, MTIME_CMP, TIMESPEC_NS): Likewise.
From coreutils' system.h.

20 years ago*** empty log message ***
Jim Meyering [Thu, 5 Feb 2004 09:26:56 +0000 (09:26 +0000)]
*** empty log message ***

20 years ago(ST_TIME_CMP_NS, ST_TIME_CMP): Remove definitions.
Jim Meyering [Thu, 5 Feb 2004 09:26:52 +0000 (09:26 +0000)]
(ST_TIME_CMP_NS, ST_TIME_CMP): Remove definitions.
(ATIME_CMP, CTIME_CMP, MTIME_CMP, TIMESPEC_NS): Likewise.
Now, those are all defined in timespec.h.
Include timespec.h.

20 years agoDon't include timespec.h, now that system.h does it.
Jim Meyering [Thu, 5 Feb 2004 09:24:05 +0000 (09:24 +0000)]
Don't include timespec.h, now that system.h does it.

20 years ago*** empty log message ***
Jim Meyering [Thu, 5 Feb 2004 09:08:52 +0000 (09:08 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 4 Feb 2004 09:46:10 +0000 (09:46 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 3 Feb 2004 20:57:40 +0000 (20:57 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 3 Feb 2004 18:40:30 +0000 (18:40 +0000)]
*** empty log message ***

20 years ago(print_numbers): Use 'double' for loop index, not
Jim Meyering [Tue, 3 Feb 2004 18:40:25 +0000 (18:40 +0000)]
(print_numbers): Use 'double' for loop index, not
'int', to avoid problems with integer overflow.  On almost all
machines 'double' works in every case where 'int' works, and
it works on other cases besides.

20 years ago*** empty log message ***
Jim Meyering [Mon, 2 Feb 2004 17:41:52 +0000 (17:41 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 2 Feb 2004 17:35:56 +0000 (17:35 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 2 Feb 2004 17:33:35 +0000 (17:33 +0000)]
*** empty log message ***

20 years ago(do_stat): Remove extra trailing newline from default formats.
Jim Meyering [Mon, 2 Feb 2004 17:33:11 +0000 (17:33 +0000)]
(do_stat): Remove extra trailing newline from default formats.

20 years ago.
Jim Meyering [Mon, 2 Feb 2004 15:00:32 +0000 (15:00 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 2 Feb 2004 13:20:55 +0000 (13:20 +0000)]
*** empty log message ***

20 years ago(nice invocation): Add examples.
Jim Meyering [Mon, 2 Feb 2004 13:20:52 +0000 (13:20 +0000)]
(nice invocation): Add examples.
Prompted by suggestion from Dan Jacobson.
(factor invocation): Add an example.
Update timing numbers for a more modern CPU.

20 years ago*** empty log message ***
Jim Meyering [Mon, 2 Feb 2004 13:12:51 +0000 (13:12 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 2 Feb 2004 08:08:09 +0000 (08:08 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 2 Feb 2004 08:05:36 +0000 (08:05 +0000)]
*** empty log message ***

20 years agoPrint actual fractional seconds in time stamps, not just `.00000000'.
Jim Meyering [Mon, 2 Feb 2004 07:59:58 +0000 (07:59 +0000)]
Print actual fractional seconds in time stamps, not just `.00000000'.

(human_time): Add and use new parameter, t_ns.
(print_stat): Update callers.