Commit Graph
14506 Commits
Author SHA1 Message Date
Jim Meyering 91b5e686d5 Adapt to reflect this change in behavior.
Make sure the VERSION_CONTROL envvar is not set.
Run diff if comparison fails.
1999-12-04 17:30:16 +00:00
Jim Meyering 8c096b86ef Use mv, ls, rm, not $MV, $LS, $RM. 1999-12-04 17:24:19 +00:00
Jim Meyering 698fd02798 (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.
1999-12-04 17:21:47 +00:00
Jim Meyering 28bac510d9 *** empty log message *** 1999-12-04 17:21:06 +00:00
Jim Meyering 2413369d22 *** empty log message *** 1999-12-04 17:05:27 +00:00
Jim Meyering 091109470c 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.
1999-12-04 17:03:43 +00:00
Jim Meyering 9481a7bd36 *** empty log message *** 1999-12-04 16:56:07 +00:00
Jim Meyering 2be3dc067a (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.
1999-12-04 16:55:27 +00:00
Jim Meyering c4542a7e8c (usage): Shorten help for --show-control-chars. 1999-11-30 21:09:35 +00:00
Jim Meyering 6c9e0d702a *** empty log message *** 1999-11-30 16:09:58 +00:00
Jim Meyering 062906c83a Don't include math.h or float.h.
Don't use DBL_MAX.
Use TIME_T_MAX instead.
1999-11-28 19:59:18 +00:00
Jim Meyering 2c3fa56cef *** empty log message *** 1999-11-28 19:57:54 +00:00
Jim Meyering 346edb7361 *** empty log message *** 1999-11-28 19:56:38 +00:00
Jim Meyering b9c91d0570 don't include assert.h 1999-11-28 14:04:12 +00:00
Jim Meyering e20a9b89d2 Round more carefully so we never call nanosleep with more than 999,999,999
nanoseconds.
Comment out assertion because it uses on EINTR.
1999-11-28 14:03:43 +00:00
Jim Meyering 0baa523154 Rewrite to use nanosleep (hence, timer stops when sleep is suspended)
and to remove gettimeofday/signal cruft.
Improve overflow checking.
1999-11-28 13:35:00 +00:00
Jim Meyering d5f7b2a2db *** empty log message *** 1999-11-28 08:08:51 +00:00
Jim Meyering 4c05896b20 better error checking
add FIXME comments for non-portable constructs
1999-11-28 08:00:58 +00:00
Jim Meyering ec974f5c39 remove another printf stmt 1999-11-27 20:03:05 +00:00
Jim Meyering 15d2e7a86b remove printf stmts 1999-11-27 20:02:38 +00:00
Jim Meyering 069610a0f0 fix typos 1999-11-27 20:01:22 +00:00
Jim Meyering 5617251659 Rewrite to allow fractional seconds and to handle SIGCONT.
(main): Rewrite.
(sighandler): New function.
(apply_suffix): New function.
(timeval_subtract): New function.
1999-11-27 20:00:54 +00:00
Jim Meyering 398516f242 (usage): Add elipses to show that sleep allows more than one argument. 1999-11-27 17:10:15 +00:00
Jim Meyering 8e1452ffea remove brackets around required sleep argument 1999-11-27 17:04:29 +00:00
Jim Meyering 6b36a017db (argdecode): Move definition to precede use.
Remove prototype.
1999-11-27 15:02:27 +00:00
Jim Meyering 30d2b031ab *** empty log message *** 1999-11-27 10:15:46 +00:00
Jim Meyering f72f631fa0 Don't set/use MV, etc. 1999-11-27 10:14:53 +00:00
Jim Meyering d10b18f2b9 *** empty log message *** 1999-11-27 10:14:24 +00:00
Jim Meyering 511cd5b6ae Don't set/use MV, etc. 1999-11-27 10:14:04 +00:00
Jim Meyering 09282a24f6 Don't set/use RM and MV. 1999-11-27 10:11:25 +00:00
Jim Meyering f36a801a9a Don't set/use LS MV MKDIR MKNOD RM TOUCH 1999-11-27 10:10:02 +00:00
Jim Meyering 1e219d6b71 Don't set/use DF or MKDIR. 1999-11-27 10:08:55 +00:00
Jim Meyering 2e0f5a2bac *** empty log message *** 1999-11-27 10:05:25 +00:00
Jim Meyering 9234f12d32 (TESTS): Add partition-perm. 1999-11-27 10:05:11 +00:00
Jim Meyering bd2102efa4 *** empty log message *** FILEUTILS-4_0j 1999-11-27 09:01:22 +00:00
Jim Meyering 6550d040a5 *** empty log message *** 1999-11-27 09:01:05 +00:00
Jim Meyering afdd1c5ca2 *** empty log message *** 1999-11-26 16:50:33 +00:00
Jim Meyering 7af339b126 (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.
1999-11-26 16:50:24 +00:00
Jim Meyering 0d6c850979 . 1999-11-26 07:31:42 +00:00
Jim Meyering a6db3e776e *** empty log message *** 1999-11-23 12:57:38 +00:00
Jim Meyering f5c9c07779 (Calendar date item): Correction regarding 0..68/
69-99 split for 1900 vs 2000.  From Peter Moulder.
1999-11-23 12:57:10 +00:00
Jim Meyering 05de2104b9 *** empty log message *** 1999-11-23 12:56:30 +00:00
Jim Meyering 22c0d963f1 . 1999-11-22 15:05:52 +00:00
Jim Meyering 6cfbe9468a . 1999-11-22 14:10:07 +00:00
Jim Meyering 630d0d3f8d (DISTCLEANFILES): Add lstat.c and stat.c. 1999-11-22 14:09:58 +00:00
Jim Meyering d3af459dac *** empty log message *** 1999-11-22 13:21:48 +00:00
Jim Meyering b9cbaa7073 . 1999-11-22 13:14:19 +00:00
Jim Meyering 6c95094270 *** empty log message *** 1999-11-22 11:35:12 +00:00
Jim Meyering 65c46d231a *** empty log message *** 1999-11-22 11:23:35 +00:00
Jim Meyering c401c7f12c *** empty log message *** 1999-11-22 11:23:08 +00:00