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 ***
Jim Meyering [Wed, 17 Nov 1999 14:04:32 +0000 (14:04 +0000)]
Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
Jim Meyering [Wed, 17 Nov 1999 08:22:49 +0000 (08:22 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 Nov 1999 08:18:38 +0000 (08:18 +0000)]
(S_IRWXUGO): Define if necessary.
(main): Use chmod to set the permissions if bits other than those
of S_IRWXUGO were requested. Reported by Sami Farin.
Jim Meyering [Wed, 17 Nov 1999 08:18:22 +0000 (08:18 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 Nov 1999 22:26:57 +0000 (22:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 14 Nov 1999 20:44:56 +0000 (20:44 +0000)]
(touch): Simplify code a tad, using fd == -1 instead
of separate valid_fd variable.
Jim Meyering [Sat, 13 Nov 1999 23:21:01 +0000 (23:21 +0000)]
.
Jim Meyering [Sat, 13 Nov 1999 23:20:14 +0000 (23:20 +0000)]
# Also test the combination of --no-create and -a.
Jim Meyering [Sat, 13 Nov 1999 23:19:08 +0000 (23:19 +0000)]
.
Jim Meyering [Sat, 13 Nov 1999 14:55:01 +0000 (14:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Nov 1999 14:47:21 +0000 (14:47 +0000)]
(touch): Don't fail just because we couldn't open
an existing file. This makes it so that touching a read-only
file now works. Also clean up and simplify.
Based on a patch from Chip Salzenberg.
Jim Meyering [Sat, 13 Nov 1999 14:46:21 +0000 (14:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Nov 1999 13:28:39 +0000 (13:28 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Nov 1999 13:27:25 +0000 (13:27 +0000)]
(TESTS): Add no-rights.
Jim Meyering [Sat, 13 Nov 1999 13:24:54 +0000 (13:24 +0000)]
new test for touch -c fix
Jim Meyering [Sat, 13 Nov 1999 10:13:16 +0000 (10:13 +0000)]
import latest
Jim Meyering [Fri, 12 Nov 1999 10:56:23 +0000 (10:56 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Nov 1999 10:54:21 +0000 (10:54 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Nov 1999 10:50:01 +0000 (10:50 +0000)]
(print_nth_dir): Write one fewer byte so we don't print a trailing slash.
(rm): Fix bugs in (and test, this time) the very-rarely-used code
to warn about directory cycles.
Jim Meyering [Fri, 12 Nov 1999 10:42:13 +0000 (10:42 +0000)]
Adjust comments to reflect that lots of code has moved to remove.c.
Jim Meyering [Fri, 12 Nov 1999 08:10:02 +0000 (08:10 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Nov 1999 08:05:20 +0000 (08:05 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 15:08:34 +0000 (15:08 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 13:46:40 +0000 (13:46 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 13:46:19 +0000 (13:46 +0000)]
Add a test for this fix.
Jim Meyering [Thu, 11 Nov 1999 13:20:24 +0000 (13:20 +0000)]
.
Jim Meyering [Thu, 11 Nov 1999 13:19:36 +0000 (13:19 +0000)]
(copy_internal): Treat src and dest as the `same' in
`mv src symlink-to-src' when src and dest are on different partitions.
Otherwise, that `mv' command would silently remove `src'.
Reported by Michael Stone.
Jim Meyering [Thu, 11 Nov 1999 12:12:23 +0000 (12:12 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 11:41:18 +0000 (11:41 +0000)]
re-comment debugging diff stmt
Jim Meyering [Thu, 11 Nov 1999 11:00:50 +0000 (11:00 +0000)]
(make_path): Fix long-latent bug (note others
just like it were fixed in 1998-01-02).
A user (FIXME, who?) reported that using `install -d -g foo 1/2`
only sets the group on the intermediate directory, not the final
component. From Michael Stone.
Jim Meyering [Thu, 11 Nov 1999 07:50:59 +0000 (07:50 +0000)]
remove unnecessary trailing semicolons
Jim Meyering [Wed, 10 Nov 1999 06:14:12 +0000 (06:14 +0000)]
import 1.019