Commit Graph
15907 Commits
Author SHA1 Message Date
Jim Meyering a9c3d9197f *** empty log message *** 1999-12-15 10:15:36 +00:00
Jim Meyering 4d90b0efc9 (decode_switches): If -c or -u is specified and not -l (or any other
option that implies -l), and no sort-type was specified,
then sort by the ctime (-c) or atime (-u).  Part of this change reverts
the 1998-01-10 delta.
(usage): Update to reflect this change.
Reported by Paul Slootman via Michael Stone.
1999-12-15 08:38:54 +00:00
Jim Meyering c8ad493e6b . 1999-12-14 09:00:08 +00:00
Jim Meyering 99aa95f945 *** empty log message *** 1999-12-13 22:37:15 +00:00
Jim Meyering 927b1d42fb *** empty log message *** 1999-12-13 15:08:21 +00:00
Jim Meyering b5123778b7 *** empty log message *** 1999-12-13 15:04:27 +00:00
Jim Meyering 5c2322aacc *** empty log message *** 1999-12-13 15:03:51 +00:00
Jim Meyering 0c7c8c2992 *** empty log message *** 1999-12-13 07:33:13 +00:00
Jim Meyering c8d452098b (make_path): Consistently use error to output
the verbose, `created directory ...' messages.
Reported by Bernhard Rosenkraenzer.
1999-12-13 07:30:57 +00:00
Jim Meyering 3182653495 *** empty log message *** 1999-12-13 07:29:13 +00:00
Jim Meyering 7efcffd2e6 *** empty log message *** 1999-12-13 06:45:13 +00:00
Jim Meyering 63324e5e7e Move 120+ lines of stat.h-related macros from system.h (not shared)
to sys2.h, which is shared between fileutils, sh-utils, textutils.
* src/system.h: Move them from here...
* src/sys2.h: ... to here.
1999-12-12 21:49:25 +00:00
Jim Meyering 488028199d (S_IRUSR, S_IRGRP, S_IWGRP, S_IROTH, S_IWOTH): Define
if not defined.  This was necessary on a NeXT Turbostation running
Mach 3.3.  Reported by Nelson H. F. Beebe.
1999-12-12 21:45:34 +00:00
Jim Meyering c71815ac7b *** empty log message *** 1999-12-12 20:26:48 +00:00
Jim Meyering 6ff905699a . 1999-12-10 16:30:28 +00:00
Jim Meyering d3d701080b . 1999-12-10 16:29:54 +00:00
Jim Meyering c6025b9d1e . 1999-12-10 15:22:55 +00:00
Jim Meyering b026aa85d0 (_jm_STRFTIME_PREREQS): Use 3-arg form of AC_DEFINE for HAVE_TM_GMTOFF. 1999-12-10 14:35:38 +00:00
Jim Meyering 4c0b11a8e7 *** empty log message *** 1999-12-09 16:53:41 +00:00
Jim Meyering 5ac2b8e39b . 1999-12-09 16:42:00 +00:00
Jim Meyering 5214179c29 . 1999-12-09 16:38:32 +00:00
Jim Meyering e8ff25dd70 *** empty log message *** 1999-12-09 15:55:11 +00:00
Jim Meyering fc8e7363d2 Require that File::Compare be available, too.
Too many systems seem to lack it.
1999-12-09 15:54:59 +00:00
Jim Meyering 022194de49 Add checks for most of the cpp macros tested in GNU's strftime.c.
Prompted by a patch from Paul Eggert.
1999-12-09 15:54:20 +00:00
Jim Meyering eb06f705a1 Use 1>&2 rather than `1<&-'.
Suggestion from Volker Borchert.
1999-12-09 15:52:49 +00:00
Jim Meyering aeabe74421 (IGNORE_FAIL_ON_NON_EMPTY_OPTION): Likewise. 1999-12-09 15:52:09 +00:00
Jim Meyering 46b6c26e4f (BLOCK_SIZE_OPTION, EXCLUDE_OPTION, MAX_DEPTH_OPTION):
Define these and use them instead of `CHAR_MAX + n'.
1999-12-09 15:46:39 +00:00
Jim Meyering 919f2ce3da (BLOCK_SIZE_OPTION, SYNC_OPTION, NO_SYNC_OPTION): Define
these and use them instead of `CHAR_MAX + n'.
1999-12-09 15:43:41 +00:00
Jim Meyering 6cbabe63d4 (anonymous enum): Define TIME_OPTION, and ...
(longopts): ...use it here instead of `CHAR_MAX + 1'.
(main): Likewise.
1999-12-09 15:39:38 +00:00
Jim Meyering 1aa50fd72e (enum): Remove useless CHAR_MAX + 2 1999-12-09 15:35:41 +00:00
Jim Meyering 6845fc7c96 Test more of the framework (touch's -a and -m
options) before running the actual ls test.
1999-12-08 17:05:59 +00:00
Jim Meyering 84339c827f s/test_failure/framework_failure/g 1999-12-08 16:50:22 +00:00
Jim Meyering be3748ddad (TESTS): Add fflush. 1999-12-05 23:31:34 +00:00
Jim Meyering 392a965229 Remove ftp.enst.fr. 1999-12-05 22:59:30 +00:00
Jim Meyering 5cb18377bc *** empty log message *** 1999-12-05 22:36:11 +00:00
Jim Meyering 93c2c18a80 (main): Flush stdout before switching to unbuffered mode
and calling tail_forever.  Required only on Solaris2.7 -- on other
systems, using setvbuf to switch to unbufferd mode does the flush.
1999-12-05 22:36:02 +00:00
Jim Meyering dd002c22fd *** empty log message *** 1999-12-05 16:45:27 +00:00
Jim Meyering f447e97462 . 1999-12-05 16:39:39 +00:00
Jim Meyering 3abc240e82 *** empty log message *** FILEUTILS-4_0k 1999-12-05 15:14:18 +00:00
Jim Meyering ff8f4dde22 *** empty log message *** 1999-12-05 15:13:40 +00:00
Jim Meyering f880990daf Revert the previous change.
(copy_internal): In move mode, if the rename attempt
fails, then unlink any existing destination file.  This makes a
cross-device `mv' more consistent with the intra-device behavior.
This change is required by POSIX to make a cross-device move act with
semantics similar to those of the rename syscall.  For example now
`mv' can move a file onto a symlink to itself when that symlink
is on a separate partition.  With fileutils-4.0j, it would fail with
a diagnostic saying they were the same file.
Reported by Bruno Haible.
1999-12-05 15:13:21 +00:00
Jim Meyering 7306126ef0 *** empty log message *** 1999-12-04 17:46:39 +00:00
Jim Meyering 305e2306be . 1999-12-04 17:46:06 +00:00
Jim Meyering 2b10e67d59 (TESTS): Add to-symlink. 1999-12-04 17:45:45 +00:00
Jim Meyering dc74b3a1e7 Make sure that the copying code used in an inter-partition
move unlinks a destination symlink before opening it.
1999-12-04 17:44:59 +00:00
Jim Meyering 2f21a269fe *** empty log message *** 1999-12-04 17:34:39 +00:00
Jim Meyering 69408d229e *** empty log message *** 1999-12-04 17:34:05 +00:00
Jim Meyering f05badd230 (trap): Be careful to close $actual before
removing the containing directory.  Otherwise, on some systems rmdir
fails to remove the containing directory.
1999-12-04 17:33:49 +00:00
Jim Meyering 6763fa97d2 *** empty log message *** 1999-12-04 17:31:29 +00:00
Jim Meyering b1b10e1e40 List --full-time dates upon failure. 1999-12-04 17:31:23 +00:00