Jim Meyering [Thu, 30 Dec 1999 09:09:03 +0000 (09:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 30 Dec 1999 09:07:31 +0000 (09:07 +0000)]
*** empty log message ***
Jim Meyering [Thu, 30 Dec 1999 09:07:13 +0000 (09:07 +0000)]
(remove_parents, main): Don't pass errno to error
when printing "removing directory" message. Failure of rmdir is
handled elsewhere.
Jim Meyering [Mon, 27 Dec 1999 16:31:56 +0000 (16:31 +0000)]
.
Jim Meyering [Mon, 27 Dec 1999 16:30:45 +0000 (16:30 +0000)]
.
Jim Meyering [Mon, 27 Dec 1999 16:30:20 +0000 (16:30 +0000)]
minor var. renamings
Jim Meyering [Mon, 27 Dec 1999 15:57:26 +0000 (15:57 +0000)]
tweak --help
Jim Meyering [Mon, 27 Dec 1999 14:17:39 +0000 (14:17 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Dec 1999 10:19:40 +0000 (10:19 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Dec 1999 10:16:18 +0000 (10:16 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Dec 1999 10:03:46 +0000 (10:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Dec 1999 10:02:31 +0000 (10:02 +0000)]
(jm_FUNC_NANOSLEEP): New file/macro.
Jim Meyering [Sun, 26 Dec 1999 09:40:16 +0000 (09:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 25 Dec 1999 22:15:23 +0000 (22:15 +0000)]
*** empty log message ***
Jim Meyering [Sat, 25 Dec 1999 20:00:21 +0000 (20:00 +0000)]
Use < rather than >.
(main): Normalize ts_stop.
Jim Meyering [Thu, 23 Dec 1999 15:28:02 +0000 (15:28 +0000)]
.
Jim Meyering [Thu, 23 Dec 1999 15:09:17 +0000 (15:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 14:34:38 +0000 (14:34 +0000)]
(USE_CLOCK_GETTIME): Define.
[USE_CLOCK_GETTIME]: Include sys/time.h.
(timespec_subtract): New function.
(clock_get_realtime): New function.
(sighandler): Remove function.
(main): Reimplement again, using nanosleep and clock_gettime.
Jim Meyering [Thu, 23 Dec 1999 14:25:17 +0000 (14:25 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 11:56:32 +0000 (11:56 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 11:55:58 +0000 (11:55 +0000)]
Check for clock_gettime (moved from fileutils/configure.in)
Check for gettimeofday.
Jim Meyering [Thu, 23 Dec 1999 11:54:36 +0000 (11:54 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 09:56:01 +0000 (09:56 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 09:51:50 +0000 (09:51 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 09:50:31 +0000 (09:50 +0000)]
.
Jim Meyering [Thu, 23 Dec 1999 09:49:59 +0000 (09:49 +0000)]
.
Jim Meyering [Thu, 23 Dec 1999 09:34:57 +0000 (09:34 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 09:34:48 +0000 (09:34 +0000)]
(usage): Correct typos.
List new --target-directory=... usage.
Reported by Göran Uddeborg
Jim Meyering [Thu, 23 Dec 1999 09:34:25 +0000 (09:34 +0000)]
(usage): List new --target-directory=... usage.
Jim Meyering [Wed, 22 Dec 1999 20:49:19 +0000 (20:49 +0000)]
rewrite expression (equivalently) at request of Paul Eggert
Jim Meyering [Wed, 22 Dec 1999 16:51:48 +0000 (16:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 16:32:24 +0000 (16:32 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 16:32:07 +0000 (16:32 +0000)]
(ceil_percent): Remove.
(show_dev): Avoid overflow problems when calculating percent.
Do not display negative percents.
Jim Meyering [Wed, 22 Dec 1999 14:30:45 +0000 (14:30 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 14:30:23 +0000 (14:30 +0000)]
Use $file, not $tmp/file. Exit 77 if run as root.
Jim Meyering [Wed, 22 Dec 1999 11:18:06 +0000 (11:18 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 11:15:26 +0000 (11:15 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 11:15:15 +0000 (11:15 +0000)]
(regress-1): New test for the above.
Jim Meyering [Wed, 22 Dec 1999 11:14:30 +0000 (11:14 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 11:14:05 +0000 (11:14 +0000)]
(get_date): Fix typo in time_t overflow test.
From Michael Stone.
Jim Meyering [Mon, 20 Dec 1999 10:42:32 +0000 (10:42 +0000)]
.
Jim Meyering [Mon, 20 Dec 1999 10:37:27 +0000 (10:37 +0000)]
Remove kludge, now that I'm using the fixed autoconf-2.14a-1999-12-20.
Jim Meyering [Mon, 20 Dec 1999 10:11:28 +0000 (10:11 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Dec 1999 15:51:32 +0000 (15:51 +0000)]
tweak comment
Jim Meyering [Sun, 19 Dec 1999 15:21:19 +0000 (15:21 +0000)]
tweak comment
Jim Meyering [Sun, 19 Dec 1999 10:49:15 +0000 (10:49 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Dec 1999 10:46:19 +0000 (10:46 +0000)]
(lstat.c): Adapt rule to handle new parts of xstat.in.
(lstat.c): Likewise.
Jim Meyering [Sun, 19 Dec 1999 10:45:50 +0000 (10:45 +0000)]
(slash_aware_lstat): New function.
(rpl_@xstat@): Use it.
Jim Meyering [Sun, 19 Dec 1999 10:43:18 +0000 (10:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Dec 1999 10:42:51 +0000 (10:42 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Dec 1999 10:25:06 +0000 (10:25 +0000)]
.
Jim Meyering [Sun, 19 Dec 1999 10:23:58 +0000 (10:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Dec 1999 10:23:47 +0000 (10:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Dec 1999 10:23:26 +0000 (10:23 +0000)]
[! LSTAT_FOLLOWS_SLASHED_SYMLINK]: Use lstat wrapper.
[Notice the new test in m4/lstat-slash.m4. ]
(main): Back out change from 1999-02-19 that made ls remove
trailing slashes from command line arguments to accommodate early
versions of Linux. Now, `ls symlink-to-dir/' acts like
`ls symlink-to-dir/.' thus following the symbolic link, as POSIX says
it should. Suggestion from Bruno Haible and Andreas Schwab.
Jim Meyering [Sun, 19 Dec 1999 10:22:47 +0000 (10:22 +0000)]
.
Jim Meyering [Sun, 19 Dec 1999 10:21:51 +0000 (10:21 +0000)]
.
Jim Meyering [Sun, 19 Dec 1999 10:21:34 +0000 (10:21 +0000)]
(TESTS): Add symlink-slash.
Jim Meyering [Sun, 19 Dec 1999 09:41:08 +0000 (09:41 +0000)]
remove unused test= stmt
Jim Meyering [Sun, 19 Dec 1999 09:37:22 +0000 (09:37 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Dec 1999 09:37:06 +0000 (09:37 +0000)]
bump serial number
Jim Meyering [Sun, 19 Dec 1999 09:36:55 +0000 (09:36 +0000)]
Use the new macro: jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
Jim Meyering [Sun, 19 Dec 1999 09:34:29 +0000 (09:34 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Dec 1999 09:33:18 +0000 (09:33 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 23:00:58 +0000 (23:00 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 22:41:36 +0000 (22:41 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 16:04:47 +0000 (16:04 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 16:00:49 +0000 (16:00 +0000)]
(wipename): When repeatedly renaming a file, making the name shorter
and shorter, skip to the next shorter length length if a rename fails (e.g. due to
permission denied). Otherwise, this loop would iterate for so long that shred would
appear to be stuck in an infinite loop for any but the shortest file names.
Jim Meyering [Sat, 18 Dec 1999 11:48:43 +0000 (11:48 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 11:48:37 +0000 (11:48 +0000)]
(print_entry): Correct do_lookup test so that who
prints whatever host information it has, even without --lookup.
Jim Meyering [Wed, 15 Dec 1999 10:15:36 +0000 (10:15 +0000)]
*** empty log message ***
Jim Meyering [Wed, 15 Dec 1999 08:38:54 +0000 (08:38 +0000)]
(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.
Jim Meyering [Tue, 14 Dec 1999 09:00:08 +0000 (09:00 +0000)]
.
Jim Meyering [Mon, 13 Dec 1999 22:37:15 +0000 (22:37 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 15:08:21 +0000 (15:08 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 15:04:27 +0000 (15:04 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 15:03:51 +0000 (15:03 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 07:33:13 +0000 (07:33 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 07:30:57 +0000 (07:30 +0000)]
(make_path): Consistently use error to output
the verbose, `created directory ...' messages.
Reported by Bernhard Rosenkraenzer.
Jim Meyering [Mon, 13 Dec 1999 07:29:13 +0000 (07:29 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 06:45:13 +0000 (06:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Dec 1999 21:49:25 +0000 (21:49 +0000)]
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.
Jim Meyering [Sun, 12 Dec 1999 21:45:34 +0000 (21:45 +0000)]
(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.
Jim Meyering [Sun, 12 Dec 1999 20:26:48 +0000 (20:26 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Dec 1999 16:30:28 +0000 (16:30 +0000)]
.
Jim Meyering [Fri, 10 Dec 1999 16:29:54 +0000 (16:29 +0000)]
.
Jim Meyering [Fri, 10 Dec 1999 15:22:55 +0000 (15:22 +0000)]
.
Jim Meyering [Fri, 10 Dec 1999 14:35:38 +0000 (14:35 +0000)]
(_jm_STRFTIME_PREREQS): Use 3-arg form of AC_DEFINE for HAVE_TM_GMTOFF.
Jim Meyering [Thu, 9 Dec 1999 16:53:41 +0000 (16:53 +0000)]
*** empty log message ***
Jim Meyering [Thu, 9 Dec 1999 16:42:00 +0000 (16:42 +0000)]
.
Jim Meyering [Thu, 9 Dec 1999 16:38:32 +0000 (16:38 +0000)]
.
Jim Meyering [Thu, 9 Dec 1999 15:55:11 +0000 (15:55 +0000)]
*** empty log message ***
Jim Meyering [Thu, 9 Dec 1999 15:54:59 +0000 (15:54 +0000)]
Require that File::Compare be available, too.
Too many systems seem to lack it.
Jim Meyering [Thu, 9 Dec 1999 15:54:20 +0000 (15:54 +0000)]
Add checks for most of the cpp macros tested in GNU's strftime.c.
Prompted by a patch from Paul Eggert.
Jim Meyering [Thu, 9 Dec 1999 15:52:49 +0000 (15:52 +0000)]
Use 1>&2 rather than `1<&-'.
Suggestion from Volker Borchert.
Jim Meyering [Thu, 9 Dec 1999 15:52:09 +0000 (15:52 +0000)]
(IGNORE_FAIL_ON_NON_EMPTY_OPTION): Likewise.
Jim Meyering [Thu, 9 Dec 1999 15:46:39 +0000 (15:46 +0000)]
(BLOCK_SIZE_OPTION, EXCLUDE_OPTION, MAX_DEPTH_OPTION):
Define these and use them instead of `CHAR_MAX + n'.
Jim Meyering [Thu, 9 Dec 1999 15:43:41 +0000 (15:43 +0000)]
(BLOCK_SIZE_OPTION, SYNC_OPTION, NO_SYNC_OPTION): Define
these and use them instead of `CHAR_MAX + n'.
Jim Meyering [Thu, 9 Dec 1999 15:39:38 +0000 (15:39 +0000)]
(anonymous enum): Define TIME_OPTION, and ...
(longopts): ...use it here instead of `CHAR_MAX + 1'.
(main): Likewise.
Jim Meyering [Thu, 9 Dec 1999 15:35:41 +0000 (15:35 +0000)]
(enum): Remove useless CHAR_MAX + 2
Jim Meyering [Wed, 8 Dec 1999 17:05:59 +0000 (17:05 +0000)]
Test more of the framework (touch's -a and -m
options) before running the actual ls test.