platform/upstream/coreutils.git
24 years ago*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 23:00:58 +0000 (23:00 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 22:41:36 +0000 (22:41 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 16:04:47 +0000 (16:04 +0000)]
*** empty log message ***

24 years ago(wipename): When repeatedly renaming a file, making the name shorter
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.

24 years ago*** empty log message ***
Jim Meyering [Sat, 18 Dec 1999 11:48:43 +0000 (11:48 +0000)]
*** empty log message ***

24 years ago(print_entry): Correct do_lookup test so that who
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.

24 years ago*** empty log message ***
Jim Meyering [Wed, 15 Dec 1999 10:15:36 +0000 (10:15 +0000)]
*** empty log message ***

24 years ago(decode_switches): If -c or -u is specified and not -l (or any other
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.

24 years ago.
Jim Meyering [Tue, 14 Dec 1999 09:00:08 +0000 (09:00 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 22:37:15 +0000 (22:37 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 15:08:21 +0000 (15:08 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 15:04:27 +0000 (15:04 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 15:03:51 +0000 (15:03 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 07:33:13 +0000 (07:33 +0000)]
*** empty log message ***

24 years ago(make_path): Consistently use error to output
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.

24 years ago*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 07:29:13 +0000 (07:29 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 13 Dec 1999 06:45:13 +0000 (06:45 +0000)]
*** empty log message ***

24 years agoMove 120+ lines of stat.h-related macros from system.h (not shared)
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.

24 years ago(S_IRUSR, S_IRGRP, S_IWGRP, S_IROTH, S_IWOTH): Define
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.

24 years ago*** empty log message ***
Jim Meyering [Sun, 12 Dec 1999 20:26:48 +0000 (20:26 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Fri, 10 Dec 1999 16:30:28 +0000 (16:30 +0000)]
.

24 years ago.
Jim Meyering [Fri, 10 Dec 1999 16:29:54 +0000 (16:29 +0000)]
.

24 years ago.
Jim Meyering [Fri, 10 Dec 1999 15:22:55 +0000 (15:22 +0000)]
.

24 years ago(_jm_STRFTIME_PREREQS): Use 3-arg form of AC_DEFINE for HAVE_TM_GMTOFF.
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.

24 years ago*** empty log message ***
Jim Meyering [Thu, 9 Dec 1999 16:53:41 +0000 (16:53 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Thu, 9 Dec 1999 16:42:00 +0000 (16:42 +0000)]
.

24 years ago.
Jim Meyering [Thu, 9 Dec 1999 16:38:32 +0000 (16:38 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Thu, 9 Dec 1999 15:55:11 +0000 (15:55 +0000)]
*** empty log message ***

24 years agoRequire that File::Compare be available, too.
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.

24 years agoAdd checks for most of the cpp macros tested in GNU's strftime.c.
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.

24 years agoUse 1>&2 rather than `1<&-'.
Jim Meyering [Thu, 9 Dec 1999 15:52:49 +0000 (15:52 +0000)]
Use 1>&2 rather than `1<&-'.
Suggestion from Volker Borchert.

24 years ago(IGNORE_FAIL_ON_NON_EMPTY_OPTION): Likewise.
Jim Meyering [Thu, 9 Dec 1999 15:52:09 +0000 (15:52 +0000)]
(IGNORE_FAIL_ON_NON_EMPTY_OPTION): Likewise.

24 years ago(BLOCK_SIZE_OPTION, EXCLUDE_OPTION, MAX_DEPTH_OPTION):
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'.

24 years ago(BLOCK_SIZE_OPTION, SYNC_OPTION, NO_SYNC_OPTION): Define
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'.

24 years ago(anonymous enum): Define TIME_OPTION, and ...
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.

24 years ago(enum): Remove useless CHAR_MAX + 2
Jim Meyering [Thu, 9 Dec 1999 15:35:41 +0000 (15:35 +0000)]
(enum): Remove useless CHAR_MAX + 2

24 years agoTest more of the framework (touch's -a and -m
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.

24 years agos/test_failure/framework_failure/g
Jim Meyering [Wed, 8 Dec 1999 16:50:22 +0000 (16:50 +0000)]
s/test_failure/framework_failure/g

24 years ago(TESTS): Add fflush.
Jim Meyering [Sun, 5 Dec 1999 23:31:34 +0000 (23:31 +0000)]
(TESTS): Add fflush.

24 years agoRemove ftp.enst.fr.
Jim Meyering [Sun, 5 Dec 1999 22:59:30 +0000 (22:59 +0000)]
Remove ftp.enst.fr.

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Dec 1999 22:36:11 +0000 (22:36 +0000)]
*** empty log message ***

24 years ago(main): Flush stdout before switching to unbuffered mode
Jim Meyering [Sun, 5 Dec 1999 22:36:02 +0000 (22:36 +0000)]
(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.

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Dec 1999 16:45:27 +0000 (16:45 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sun, 5 Dec 1999 16:39:39 +0000 (16:39 +0000)]
.

24 years ago*** empty log message *** FILEUTILS-4_0k
Jim Meyering [Sun, 5 Dec 1999 15:14:18 +0000 (15:14 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Dec 1999 15:13:40 +0000 (15:13 +0000)]
*** empty log message ***

24 years agoRevert the previous change.
Jim Meyering [Sun, 5 Dec 1999 15:13:21 +0000 (15:13 +0000)]
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.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:46:39 +0000 (17:46 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sat, 4 Dec 1999 17:46:06 +0000 (17:46 +0000)]
.

24 years ago(TESTS): Add to-symlink.
Jim Meyering [Sat, 4 Dec 1999 17:45:45 +0000 (17:45 +0000)]
(TESTS): Add to-symlink.

24 years agoMake sure that the copying code used in an inter-partition
Jim Meyering [Sat, 4 Dec 1999 17:44:59 +0000 (17:44 +0000)]
Make sure that the copying code used in an inter-partition
move unlinks a destination symlink before opening it.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:34:39 +0000 (17:34 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:34:05 +0000 (17:34 +0000)]
*** empty log message ***

24 years ago(trap): Be careful to close $actual before
Jim Meyering [Sat, 4 Dec 1999 17:33:49 +0000 (17:33 +0000)]
(trap): Be careful to close $actual before
removing the containing directory.  Otherwise, on some systems rmdir
fails to remove the containing directory.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:31:29 +0000 (17:31 +0000)]
*** empty log message ***

24 years agoList --full-time dates upon failure.
Jim Meyering [Sat, 4 Dec 1999 17:31:23 +0000 (17:31 +0000)]
List --full-time dates upon failure.

24 years ago.
Jim Meyering [Sat, 4 Dec 1999 17:30:24 +0000 (17:30 +0000)]
.

24 years agoAdapt to reflect this change in behavior.
Jim Meyering [Sat, 4 Dec 1999 17:30:16 +0000 (17:30 +0000)]
Adapt to reflect this change in behavior.
Make sure the VERSION_CONTROL envvar is not set.
Run diff if comparison fails.

24 years agoUse mv, ls, rm, not $MV, $LS, $RM.
Jim Meyering [Sat, 4 Dec 1999 17:24:19 +0000 (17:24 +0000)]
Use mv, ls, rm, not $MV, $LS, $RM.

24 years ago(copy_internal): Be consistent with intra-device behavior
Jim Meyering [Sat, 4 Dec 1999 17:21:47 +0000 (17:21 +0000)]
(copy_internal): Be consistent with intra-device behavior
and *do* allow `mv' to 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.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:21:06 +0000 (17:21 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:05:27 +0000 (17:05 +0000)]
*** empty log message ***

24 years agoGive the right diagnostic when failing to create a file in an
Jim Meyering [Sat, 4 Dec 1999 17:03:43 +0000 (17:03 +0000)]
Give the right diagnostic when failing to create a file in an
unwritable directory.

(touch): Record errno upon failed errno and use that
saved value if a subsequent fstat, stat or utime call fails.
Reported by Wichert Akkerman via Michael Stone.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 16:56:07 +0000 (16:56 +0000)]
*** empty log message ***

24 years ago(check_symlink_color): New variable.
Jim Meyering [Sat, 4 Dec 1999 16:55:27 +0000 (16:55 +0000)]
(check_symlink_color): New variable.
(main): Set it if we need to check for dangling symlinks when
displaying colors.
(gobble_file): Check check_symlink_color instead of print_with_color.

24 years ago(usage): Shorten help for --show-control-chars.
Jim Meyering [Tue, 30 Nov 1999 21:09:35 +0000 (21:09 +0000)]
(usage): Shorten help for --show-control-chars.

24 years ago*** empty log message ***
Jim Meyering [Tue, 30 Nov 1999 16:09:58 +0000 (16:09 +0000)]
*** empty log message ***

24 years agoDon't include math.h or float.h.
Jim Meyering [Sun, 28 Nov 1999 19:59:18 +0000 (19:59 +0000)]
Don't include math.h or float.h.
Don't use DBL_MAX.
Use TIME_T_MAX instead.

24 years ago*** empty log message ***
Jim Meyering [Sun, 28 Nov 1999 19:57:54 +0000 (19:57 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 28 Nov 1999 19:56:38 +0000 (19:56 +0000)]
*** empty log message ***

24 years agodon't include assert.h
Jim Meyering [Sun, 28 Nov 1999 14:04:12 +0000 (14:04 +0000)]
don't include assert.h

24 years agoRound more carefully so we never call nanosleep with more than 999,999,999
Jim Meyering [Sun, 28 Nov 1999 14:03:43 +0000 (14:03 +0000)]
Round more carefully so we never call nanosleep with more than 999,999,999
nanoseconds.
Comment out assertion because it uses on EINTR.

24 years agoRewrite to use nanosleep (hence, timer stops when sleep is suspended)
Jim Meyering [Sun, 28 Nov 1999 13:35:00 +0000 (13:35 +0000)]
Rewrite to use nanosleep (hence, timer stops when sleep is suspended)
  and to remove gettimeofday/signal cruft.
Improve overflow checking.

24 years ago*** empty log message ***
Jim Meyering [Sun, 28 Nov 1999 08:08:51 +0000 (08:08 +0000)]
*** empty log message ***

24 years agobetter error checking
Jim Meyering [Sun, 28 Nov 1999 08:00:58 +0000 (08:00 +0000)]
better error checking
add FIXME comments for non-portable constructs

24 years agoremove another printf stmt
Jim Meyering [Sat, 27 Nov 1999 20:03:05 +0000 (20:03 +0000)]
remove another printf stmt

24 years agoremove printf stmts
Jim Meyering [Sat, 27 Nov 1999 20:02:38 +0000 (20:02 +0000)]
remove printf stmts

24 years agofix typos
Jim Meyering [Sat, 27 Nov 1999 20:01:22 +0000 (20:01 +0000)]
fix typos

24 years agoRewrite to allow fractional seconds and to handle SIGCONT.
Jim Meyering [Sat, 27 Nov 1999 20:00:54 +0000 (20:00 +0000)]
Rewrite to allow fractional seconds and to handle SIGCONT.
(main): Rewrite.
(sighandler): New function.
(apply_suffix): New function.
(timeval_subtract): New function.

24 years ago(usage): Add elipses to show that sleep allows more than one argument.
Jim Meyering [Sat, 27 Nov 1999 17:10:15 +0000 (17:10 +0000)]
(usage): Add elipses to show that sleep allows more than one argument.

24 years agoremove brackets around required sleep argument
Jim Meyering [Sat, 27 Nov 1999 17:04:29 +0000 (17:04 +0000)]
remove brackets around required sleep argument

24 years ago(argdecode): Move definition to precede use.
Jim Meyering [Sat, 27 Nov 1999 15:02:27 +0000 (15:02 +0000)]
(argdecode): Move definition to precede use.
Remove prototype.

24 years ago*** empty log message ***
Jim Meyering [Sat, 27 Nov 1999 10:15:46 +0000 (10:15 +0000)]
*** empty log message ***

24 years agoDon't set/use MV, etc.
Jim Meyering [Sat, 27 Nov 1999 10:14:53 +0000 (10:14 +0000)]
Don't set/use MV, etc.

24 years ago*** empty log message ***
Jim Meyering [Sat, 27 Nov 1999 10:14:24 +0000 (10:14 +0000)]
*** empty log message ***

24 years agoDon't set/use MV, etc.
Jim Meyering [Sat, 27 Nov 1999 10:14:04 +0000 (10:14 +0000)]
Don't set/use MV, etc.

24 years agoDon't set/use RM and MV.
Jim Meyering [Sat, 27 Nov 1999 10:11:25 +0000 (10:11 +0000)]
Don't set/use RM and MV.

24 years agoDon't set/use LS MV MKDIR MKNOD RM TOUCH
Jim Meyering [Sat, 27 Nov 1999 10:10:02 +0000 (10:10 +0000)]
Don't set/use LS MV MKDIR MKNOD RM TOUCH

24 years agoDon't set/use DF or MKDIR.
Jim Meyering [Sat, 27 Nov 1999 10:08:55 +0000 (10:08 +0000)]
Don't set/use DF or MKDIR.

24 years ago*** empty log message ***
Jim Meyering [Sat, 27 Nov 1999 10:05:25 +0000 (10:05 +0000)]
*** empty log message ***

24 years ago(TESTS): Add partition-perm.
Jim Meyering [Sat, 27 Nov 1999 10:05:11 +0000 (10:05 +0000)]
(TESTS): Add partition-perm.

24 years ago*** empty log message *** FILEUTILS-4_0j
Jim Meyering [Sat, 27 Nov 1999 09:01:22 +0000 (09:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 27 Nov 1999 09:01:05 +0000 (09:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 26 Nov 1999 16:50:33 +0000 (16:50 +0000)]
*** empty log message ***

24 years ago(df_readable): Now returns char const *, not char *.
Jim Meyering [Fri, 26 Nov 1999 16:50:24 +0000 (16:50 +0000)]
(df_readable): Now returns char const *, not char *.
New arg NEGATIVE.
(ceil_percent): Now returns double, not int.
Be more careful about adding 1 to a wild value.
(show_dev): Don't filter out wild sizes from the underlying operating
system; instead, show them to the user as faithfully as possible.

24 years ago.
Jim Meyering [Fri, 26 Nov 1999 07:31:42 +0000 (07:31 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Tue, 23 Nov 1999 12:57:38 +0000 (12:57 +0000)]
*** empty log message ***

24 years ago(Calendar date item): Correction regarding 0..68/
Jim Meyering [Tue, 23 Nov 1999 12:57:10 +0000 (12:57 +0000)]
(Calendar date item): Correction regarding 0..68/
69-99 split for 1900 vs 2000.  From Peter Moulder.

24 years ago*** empty log message ***
Jim Meyering [Tue, 23 Nov 1999 12:56:30 +0000 (12:56 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Mon, 22 Nov 1999 15:05:52 +0000 (15:05 +0000)]
.