1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-10 18:59:31 +02:00
Commit Graph

12566 Commits

Author SHA1 Message Date
Jim Meyering e4dfd95e1f *** empty log message *** 2002-03-02 17:36:04 +00:00
Jim Meyering 846263ddff (cp invocation): Document that cp -r
preserves symlinks.  Emphasize non-portability of cp -r.
2002-03-02 17:35:39 +00:00
Jim Meyering b9d1d9e98e (main): Warn when -r is specified before --archive (-a). 2002-03-02 17:23:34 +00:00
Jim Meyering 3c3e5c4a31 add a comment 2002-03-02 17:17:49 +00:00
Jim Meyering e2497bb4fd (copy_internal): For each symlink copied by cp -r,
issue a warning that `cp -r' is not portable.
2002-03-02 17:16:42 +00:00
Jim Meyering 7a5c83d8d5 (main): Revert change of 2001-12-29. With this change,
cp -r once again preserves symlinks.
(usage): Document the original (now-restored) behavior.
2002-03-02 17:15:42 +00:00
Jim Meyering 808b51dfba *** empty log message *** 2002-03-02 16:44:07 +00:00
Jim Meyering baea296b94 (main): Fail if -r is specified after --archive (-a) on the command line. 2002-03-02 16:44:02 +00:00
Jim Meyering 07b422cb2a be careful about leading/trailing spaces 2002-03-02 13:24:46 +00:00
Jim Meyering 558fd59769 *** empty log message *** 2002-03-02 08:38:57 +00:00
Jim Meyering dea4262fa6 (copy_reg): Detect abuse of a race condition
whereby an unprivileged user could gain read access to otherwise-
inaccessible files when root uses cp or mv to copy a hierarchy
belonging to that user.
2002-03-02 08:38:47 +00:00
Jim Meyering 17e6a0e4bb Include timespec.h.
(strftime, time, stime): Remove declarations; no longer needed.
(usage): Document %N.
(main): Use gettime rather than time to get the time of day,
so that we can get fractional times.
Similarly for settime and stime, so that we can set fractional times
(though this currently is not available to the user since we don't
parse fractional times; add FIXMES for that).
Check for gettime failures; e.g. this can occur if it
is past 2038 and we are a 32-bit app running on a 64-bit OS.
Get fractional part of file time stamps.
Do not falsely report failures just because time_t happens to be -1
(e.g. a file time stamp 1 second before the epoch).
(show_date): 2nd arg is now struct timespec, not time_t.
All uses changed.  Use nstrftime rather than strftime, so that
we can format fractional seconds.
2002-03-01 23:57:21 +00:00
Jim Meyering 9f1c3a0e22 *** empty log message *** 2002-03-01 23:54:58 +00:00
Jim Meyering a9e1eeab54 (gettime): Test HAVE_CLOCK_GETTIME, not HAVE_CLOCK_SETTIME. 2002-03-01 23:54:52 +00:00
Jim Meyering b39517e205 . 2002-03-01 23:36:30 +00:00
Jim Meyering 920077edd1 (strftime-check): Add `N'. 2002-03-01 23:35:58 +00:00
Jim Meyering e2f0548110 (Time directives): Add %N for nanoseconds.
This documents the recent change to 'ls'.
2002-03-01 23:35:00 +00:00
Jim Meyering a25f0cdb7e reflect renaming: nanosleep.h -> timespec.h 2002-03-01 23:34:23 +00:00
Jim Meyering 5fe8296d4a *** empty log message *** 2002-03-01 23:29:32 +00:00
Jim Meyering 853b15e627 *** empty log message *** 2002-03-01 23:28:21 +00:00
Jim Meyering f5d3da342d *** empty log message *** 2002-03-01 23:26:26 +00:00
Jim Meyering 8f5e4ea244 (jm_MACROS): Do not replace stime; no longer used.
Check for clock_settime.
2002-03-01 23:26:10 +00:00
Jim Meyering 06b02f10be *** empty log message *** 2002-03-01 23:21:09 +00:00
Jim Meyering e616c17722 . 2002-03-01 23:21:01 +00:00
Jim Meyering 3bde76131b (libfetish_a_SOURCES): Add gettime.c, settime.c,
timespec.h.  Remove nanosleep.h.
2002-03-01 23:20:53 +00:00
Jim Meyering 5a3e8f271b new file, from Paul Eggert 2002-03-01 23:20:20 +00:00
Jim Meyering e5106171da Reflect renaming: nanosleep.h -> timespec.h. 2002-03-01 23:19:28 +00:00
Jim Meyering e56702cfd6 new macros/decls, from Paul Eggert 2002-03-01 23:16:55 +00:00
Jim Meyering 20075bd5d4 renamed from nanosleep.h 2002-03-01 23:15:29 +00:00
Jim Meyering 11af8c2887 (decode_switches, usage): Add --time-style=+FORMAT. 2002-02-28 08:34:43 +00:00
Jim Meyering 4e9fd57633 *** empty log message *** 2002-02-28 08:30:31 +00:00
Jim Meyering db2557052c (pr invocation): Reword to avoid using `:'
in an @opindex entry -- info doesn't permit it.
2002-02-28 08:30:19 +00:00
Jim Meyering 97943b2180 *** empty log message *** 2002-02-28 08:20:05 +00:00
Jim Meyering 69e796de6c (Formatting file timestamps): Document new
time-formatting method: --time-style=+FORMAT.
2002-02-28 08:19:50 +00:00
Jim Meyering 2a7a905dfc . 2002-02-26 16:03:24 +00:00
Jim Meyering 81b59e0ba3 *** empty log message *** 2002-02-26 15:48:03 +00:00
Jim Meyering 419dd76de0 *** empty log message *** 2002-02-26 15:39:27 +00:00
Jim Meyering 04c4d4dc87 *** empty log message *** 2002-02-26 15:38:49 +00:00
Jim Meyering 9f96885c83 *** empty log message *** 2002-02-26 15:22:22 +00:00
Jim Meyering 7da31a15bb *** empty log message *** 2002-02-26 15:22:09 +00:00
Jim Meyering d7f4b25511 *** empty log message *** 2002-02-26 15:21:39 +00:00
Jim Meyering 99c885f123 *** empty log message *** 2002-02-26 15:21:11 +00:00
Jim Meyering fba433574b (jm_MACROS): Require AC_FUNC_ACL.
Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
2002-02-26 15:20:39 +00:00
Jim Meyering d678a9231c Include "acl.h" rather than <sys/acl.h>.
(USE_ACL): Remove; replaced by HAVE_ACL everywhere.
(gobble_file): Use file_has_acl rather than doing it ourselves.
2002-02-26 15:20:00 +00:00
Jim Meyering d936975f34 *** empty log message *** 2002-02-26 14:53:28 +00:00
Jim Meyering 4656d21181 (libfetish_a_SOURCES): Add acl.h, acl.c. 2002-02-26 14:53:18 +00:00
Jim Meyering b11f94d927 . 2002-02-26 14:06:55 +00:00
Jim Meyering f57432bb1d tweak comment 2002-02-26 08:32:56 +00:00
Jim Meyering 3612fcbdb2 latest from FSF 2002-02-25 12:11:03 +00:00
Jim Meyering 60a7806d6e *** empty log message *** 2002-02-24 17:24:29 +00:00