Jim Meyering [Wed, 8 Dec 1999 16:50:22 +0000 (16:50 +0000)]
s/test_failure/framework_failure/g
Jim Meyering [Sun, 5 Dec 1999 23:31:34 +0000 (23:31 +0000)]
(TESTS): Add fflush.
Jim Meyering [Sun, 5 Dec 1999 22:59:30 +0000 (22:59 +0000)]
Remove ftp.enst.fr.
Jim Meyering [Sun, 5 Dec 1999 22:36:11 +0000 (22:36 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 5 Dec 1999 16:45:27 +0000 (16:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Dec 1999 16:39:39 +0000 (16:39 +0000)]
.
Jim Meyering [Sun, 5 Dec 1999 15:14:18 +0000 (15:14 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Dec 1999 15:13:40 +0000 (15:13 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 4 Dec 1999 17:46:39 +0000 (17:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:46:06 +0000 (17:46 +0000)]
.
Jim Meyering [Sat, 4 Dec 1999 17:45:45 +0000 (17:45 +0000)]
(TESTS): Add to-symlink.
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.
Jim Meyering [Sat, 4 Dec 1999 17:34:39 +0000 (17:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:34:05 +0000 (17:34 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 4 Dec 1999 17:31:29 +0000 (17:31 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:31:23 +0000 (17:31 +0000)]
List --full-time dates upon failure.
Jim Meyering [Sat, 4 Dec 1999 17:30:24 +0000 (17:30 +0000)]
.
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.
Jim Meyering [Sat, 4 Dec 1999 17:24:19 +0000 (17:24 +0000)]
Use mv, ls, rm, not $MV, $LS, $RM.
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.
Jim Meyering [Sat, 4 Dec 1999 17:21:06 +0000 (17:21 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Dec 1999 17:05:27 +0000 (17:05 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 4 Dec 1999 16:56:07 +0000 (16:56 +0000)]
*** empty log message ***
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.
Jim Meyering [Tue, 30 Nov 1999 21:09:35 +0000 (21:09 +0000)]
(usage): Shorten help for --show-control-chars.
Jim Meyering [Tue, 30 Nov 1999 16:09:58 +0000 (16:09 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 28 Nov 1999 19:57:54 +0000 (19:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Nov 1999 19:56:38 +0000 (19:56 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Nov 1999 14:04:12 +0000 (14:04 +0000)]
don't include assert.h
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.
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.
Jim Meyering [Sun, 28 Nov 1999 08:08:51 +0000 (08:08 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Nov 1999 08:00:58 +0000 (08:00 +0000)]
better error checking
add FIXME comments for non-portable constructs
Jim Meyering [Sat, 27 Nov 1999 20:03:05 +0000 (20:03 +0000)]
remove another printf stmt
Jim Meyering [Sat, 27 Nov 1999 20:02:38 +0000 (20:02 +0000)]
remove printf stmts
Jim Meyering [Sat, 27 Nov 1999 20:01:22 +0000 (20:01 +0000)]
fix typos
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.
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.
Jim Meyering [Sat, 27 Nov 1999 17:04:29 +0000 (17:04 +0000)]
remove brackets around required sleep argument
Jim Meyering [Sat, 27 Nov 1999 15:02:27 +0000 (15:02 +0000)]
(argdecode): Move definition to precede use.
Remove prototype.
Jim Meyering [Sat, 27 Nov 1999 10:15:46 +0000 (10:15 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Nov 1999 10:14:53 +0000 (10:14 +0000)]
Don't set/use MV, etc.
Jim Meyering [Sat, 27 Nov 1999 10:14:24 +0000 (10:14 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Nov 1999 10:14:04 +0000 (10:14 +0000)]
Don't set/use MV, etc.
Jim Meyering [Sat, 27 Nov 1999 10:11:25 +0000 (10:11 +0000)]
Don't set/use RM and MV.
Jim Meyering [Sat, 27 Nov 1999 10:10:02 +0000 (10:10 +0000)]
Don't set/use LS MV MKDIR MKNOD RM TOUCH
Jim Meyering [Sat, 27 Nov 1999 10:08:55 +0000 (10:08 +0000)]
Don't set/use DF or MKDIR.
Jim Meyering [Sat, 27 Nov 1999 10:05:25 +0000 (10:05 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Nov 1999 10:05:11 +0000 (10:05 +0000)]
(TESTS): Add partition-perm.
Jim Meyering [Sat, 27 Nov 1999 09:01:22 +0000 (09:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Nov 1999 09:01:05 +0000 (09:01 +0000)]
*** empty log message ***
Jim Meyering [Fri, 26 Nov 1999 16:50:33 +0000 (16:50 +0000)]
*** empty log message ***
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.
Jim Meyering [Fri, 26 Nov 1999 07:31:42 +0000 (07:31 +0000)]
.
Jim Meyering [Tue, 23 Nov 1999 12:57:38 +0000 (12:57 +0000)]
*** empty log message ***
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.
Jim Meyering [Tue, 23 Nov 1999 12:56:30 +0000 (12:56 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 15:05:52 +0000 (15:05 +0000)]
.
Jim Meyering [Mon, 22 Nov 1999 14:10:07 +0000 (14:10 +0000)]
.
Jim Meyering [Mon, 22 Nov 1999 14:09:58 +0000 (14:09 +0000)]
(DISTCLEANFILES): Add lstat.c and stat.c.
Jim Meyering [Mon, 22 Nov 1999 13:21:48 +0000 (13:21 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 13:14:19 +0000 (13:14 +0000)]
.
Jim Meyering [Mon, 22 Nov 1999 11:35:12 +0000 (11:35 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 11:23:35 +0000 (11:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 11:23:08 +0000 (11:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 09:16:27 +0000 (09:16 +0000)]
.
Jim Meyering [Mon, 22 Nov 1999 09:15:42 +0000 (09:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 09:13:32 +0000 (09:13 +0000)]
.
Jim Meyering [Mon, 22 Nov 1999 09:13:15 +0000 (09:13 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 09:07:58 +0000 (09:07 +0000)]
(recheck): Handle a race condition (including <dev,inode>
reuse) that would lead to a failed assertion.
Reported by Ken Pizzini.
(tail_forever): Record errno before using it in call to `error'
which might change it.
(tail_file): Likewise.
Jim Meyering [Mon, 22 Nov 1999 09:03:57 +0000 (09:03 +0000)]
comment out echo stmts
Jim Meyering [Mon, 22 Nov 1999 09:03:12 +0000 (09:03 +0000)]
(TESTS): remove infloop-1
Jim Meyering [Mon, 22 Nov 1999 08:56:52 +0000 (08:56 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 08:56:39 +0000 (08:56 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 08:55:00 +0000 (08:55 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 08:54:09 +0000 (08:54 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 08:40:50 +0000 (08:40 +0000)]
(TESTS): Add `assert'.
Jim Meyering [Sat, 20 Nov 1999 12:16:11 +0000 (12:16 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 12:15:46 +0000 (12:15 +0000)]
(errno_rmdir_non_empty): New function to encapsulate errno comparison.
(remove_parents): Use it.
(main): Use it.
Jim Meyering [Sat, 20 Nov 1999 11:18:54 +0000 (11:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 10:46:39 +0000 (10:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 10:46:06 +0000 (10:46 +0000)]
Run `diff -u' if the test fails.
Jim Meyering [Sat, 20 Nov 1999 10:39:29 +0000 (10:39 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 10:39:19 +0000 (10:39 +0000)]
Use `ls' and `touch', not $LS and $TOUCH.
Jim Meyering [Sat, 20 Nov 1999 10:38:38 +0000 (10:38 +0000)]
(TESTS_ENVIRONMENT): Specify PATH, etc.
Jim Meyering [Sat, 20 Nov 1999 09:51:31 +0000 (09:51 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 09:50:58 +0000 (09:50 +0000)]
Declare lstat; needed on e.g. SunOS4.
Reported by Tom Tromey.
Jim Meyering [Fri, 19 Nov 1999 17:02:38 +0000 (17:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Nov 1999 17:02:31 +0000 (17:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Nov 1999 17:02:01 +0000 (17:02 +0000)]
(strstr): Include config.h.
Add a `;' between shloop label and `}'.
Jim Meyering [Fri, 19 Nov 1999 11:49:53 +0000 (11:49 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Nov 1999 11:49:44 +0000 (11:49 +0000)]
(AC_SYS_LARGEFILE_FLAGS): Work around a
problem with the QNX 4.25 shell, which doesn't propagate exit
status of failed commands inside shell assignments.
Jim Meyering [Fri, 19 Nov 1999 11:12:07 +0000 (11:12 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 Nov 1999 22:05:01 +0000 (22:05 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 Nov 1999 14:04:44 +0000 (14:04 +0000)]
*** empty log message ***