Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering 6119455bed *** empty log message *** 2004-02-11 11:46:37 +00:00
Jim Meyering a2411e0830 ($(srcdir)/Makefile.am): Use more portable
$(srcdir)/../Makefile.am.in, rather than $<.
Suggestion from Michael Elizabeth Chastain.
2004-02-11 11:46:34 +00:00
Jim Meyering 188f1dbccf *** empty log message *** 2004-02-11 11:45:47 +00:00
Jim Meyering 867564d1a6 (Formatting the file names):
Improve wording for --quoting-style documentation.
Suggestions by Bruno Haible.
2004-02-11 11:22:18 +00:00
Jim Meyering b9cff86909 revert unrelated (ls --quoting-style) part of last change 2004-02-11 08:44:39 +00:00
Jim Meyering f709d423ef *** empty log message *** 2004-02-11 08:42:43 +00:00
Jim Meyering 3639d54126 *** empty log message *** 2004-02-11 08:42:36 +00:00
Jim Meyering e454ef2d2a (Time directives): The %s value *is* changed by the
--date=DATE option; don't say otherwise.  Patch from Padraig Brady.
2004-02-11 08:42:31 +00:00
Jim Meyering 7fbd083e6f bump to 5.2.0 2004-02-10 10:06:53 +00:00
Jim Meyering 570d8e4831 . 2004-02-10 10:06:39 +00:00
Jim Meyering 965af8c732 . 2004-02-10 09:54:25 +00:00
Jim Meyering 4e9f0b8682 . 2004-02-10 08:34:44 +00:00
Jim Meyering 277250b293 *** empty log message *** 2004-02-10 08:17:47 +00:00
Jim Meyering 3c23d82f32 (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).
2004-02-10 08:17:33 +00:00
Jim Meyering d7621386cc *** empty log message *** 2004-02-10 07:54:16 +00:00
Jim Meyering ce82b9cc86 Hyphenate `three-column' when used as an adjective. 2004-02-09 17:41:16 +00:00
Jim Meyering 20c1475f33 . 2004-02-08 15:42:07 +00:00
Jim Meyering 739356f16e . COREUTILS-5_1_3 2004-02-08 10:01:30 +00:00
Jim Meyering 304d12d70a *** empty log message *** 2004-02-08 10:00:58 +00:00
Jim Meyering 400a1fc781 Avoid triggering a bug in OSF/Tru64's sed
that would cause an unwarranted test failure.
2004-02-08 10:00:38 +00:00
Jim Meyering 8c756b5ed6 *** empty log message *** 2004-02-07 20:41:30 +00:00
Jim Meyering d4ecf0a350 *** empty log message *** 2004-02-07 16:01:58 +00:00
Jim Meyering 666fce05a1 (cp_option_init): Don't initialize xstat member. 2004-02-07 16:01:39 +00:00
Jim Meyering ad31f43350 (cp_option_init): Likewise. 2004-02-07 16:01:31 +00:00
Jim Meyering d9e9327b09 (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.
2004-02-07 16:01:20 +00:00
Jim Meyering e80f7332e2 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.
2004-02-07 16:01:02 +00:00
Jim Meyering c9736bdff0 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.
2004-02-07 16:00:28 +00:00
Jim Meyering a70f51f2b0 . 2004-02-07 15:32:55 +00:00
Jim Meyering 0985b818a0 . 2004-02-07 14:04:23 +00:00
Jim Meyering d90a114a8d . 2004-02-07 13:49:13 +00:00
Jim Meyering ab049a7857 (gnu_ftp_host-alpha, etc.): Un-factor .gnu.org suffix,
so that emit_upload_commands can use these variables, too.
2004-02-07 13:49:03 +00:00
Jim Meyering c5a8961c5b (emit_upload_commands): new target
(alpha beta major): `$(MAKE)' it.
2004-02-07 13:47:41 +00:00
Jim Meyering 25a8abf2ee . 2004-02-07 12:04:24 +00:00
Jim Meyering 7fb035efd1 . 2004-02-07 11:47:01 +00:00
Jim Meyering 5aa31e74c3 add missing quote 2004-02-07 11:46:00 +00:00
Jim Meyering 27f63a17c6 . 2004-02-07 10:05:30 +00:00
Jim Meyering ccc8453c41 *** empty log message *** 2004-02-07 09:49:54 +00:00
Jim Meyering 70932c5e23 *** empty log message *** 2004-02-06 16:47:52 +00:00
Jim Meyering 9af79ee204 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.
2004-02-06 16:47:07 +00:00
Jim Meyering 4b43b0ccae remove stray `done' diagnostic 2004-02-06 16:45:09 +00:00
Jim Meyering 5d1b8226e2 *** empty log message *** 2004-02-06 15:26:15 +00:00
Jim Meyering 26470e56d9 (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.
2004-02-06 15:26:12 +00:00
Jim Meyering 9a70dde66b *** empty log message *** 2004-02-06 10:39:01 +00:00
Jim Meyering ca97db17ea (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.
2004-02-06 10:38:57 +00:00
Jim Meyering 5937c873e6 (human_time): Correct merge problem. 2004-02-05 13:46:41 +00:00
Jim Meyering 8b2ed3ed95 *** empty log message *** 2004-02-05 09:52:30 +00:00
Jim Meyering 6589ff97d5 *** empty log message *** 2004-02-05 09:51:54 +00:00
Jim Meyering ad669dfe92 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.
2004-02-05 09:51:49 +00:00
Jim Meyering c904b0cae6 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.
2004-02-05 09:50:18 +00:00
Jim Meyering adc816c05a 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.
2004-02-05 09:47:01 +00:00