Commit Graph

9936 Commits

Author SHA1 Message Date
Jim Meyering
17800b0300 . 2000-11-23 21:48:47 +00:00
Jim Meyering
c9dcdd0fc5 cd back to $pwd 2000-11-23 21:48:10 +00:00
Jim Meyering
b21c6f8e1e *** empty log message *** 2000-11-23 15:58:51 +00:00
Jim Meyering
846b539b4e *** empty log message *** 2000-11-23 15:58:19 +00:00
Jim Meyering
9a4e9f426c (show_point): Before accepting an entry as a match, make sure that
the mount directory exists and has the required device number.
Before, e.g., `df /floppy' would mistakenly report on the root
partition if /floppy were not listed in /etc/mtab but / was.
Patch from Eirik Fuller (http://bugs.debian.org/76923).
2000-11-23 15:36:58 +00:00
Jim Meyering
4e07d471cc *** empty log message *** 2000-11-23 15:08:19 +00:00
Jim Meyering
5afa8c022e *** empty log message *** 2000-11-23 15:05:40 +00:00
Jim Meyering
6202e79712 (mode_changed): New function.
(change_file_mode): Use it to determine accurately when -c should
make chmod announce there's been a change.
2000-11-23 15:04:17 +00:00
Jim Meyering
bd320fe27b Source sticky-check instead of open-coding it. 2000-11-23 14:59:05 +00:00
Jim Meyering
bf319d9d88 *** empty log message *** 2000-11-23 14:57:47 +00:00
Jim Meyering
1e9f7512fe (TESTS): Add c-option 2000-11-23 14:37:16 +00:00
Jim Meyering
75e63ae6cd whoops 2000-11-23 14:32:09 +00:00
Jim Meyering
d6dabd6cbb *** empty log message *** 2000-11-23 07:24:59 +00:00
Jim Meyering
d5b2ff2b99 (my_strftime): Do not invoke mbrlen with a
size of (size_t) -1; it's not portable.
2000-11-23 07:24:51 +00:00
Jim Meyering
a3e608b76a chmod before removing 2000-11-22 13:15:10 +00:00
Jim Meyering
d97f90581b Update to use its own directory, and better trap. 2000-11-19 22:24:24 +00:00
Jim Meyering
5f90e3be67 *** empty log message *** 2000-11-19 15:15:48 +00:00
Jim Meyering
f2f5e30bc2 (main): Do not assume EOF == -1.
Handle the case correctly when digits options immediately precede a
non-option.
2000-11-19 15:15:38 +00:00
Jim Meyering
6c1ee8402c (BLOCK_SIZE_OPTION, COLOR_OPTION, FORMAT_OPTION,
INDICATOR_STYLE_OPTION, QUOTING_STYLE_OPTION,
SHOW_CONTROL_CHARS_OPTION, SORT_OPTION, TIME_OPTION): New enum
values, to ensure that option values can't collide with chars.
(long_options, decode_switches): Use them.
2000-11-19 07:44:26 +00:00
Jim Meyering
ff9d584dcc *** empty log message *** 2000-11-19 07:41:31 +00:00
Jim Meyering
aba2a0fd6d (GETOPT_HELP_CHAR, GETOPT_VERSION_CHAR): Now enum
constants rather than macros.  Use values that cannot conflict
with C characters or with -1, CHAR_MAX + 1, etc.
2000-11-19 07:41:20 +00:00
Jim Meyering
5baa94d136 *** empty log message *** 2000-11-18 20:01:14 +00:00
Jim Meyering
6447e5b997 (count_entry): Don't omit the size of a directory entry
merely because we couldn't `chdir' into it.  That would give subtly
different results in some cases.  Reported by Mattias Wadenstein
via Michael Stone.
2000-11-18 20:01:02 +00:00
Jim Meyering
49d5578b0b *** empty log message *** 2000-11-18 20:00:25 +00:00
Jim Meyering
ed757a3e9d *** empty log message *** 2000-11-18 19:43:23 +00:00
Jim Meyering
e5aacbc6ea Revert change of 2000-11-11. It inadvertently change
the output format of `ls -l --full-time'.
2000-11-18 19:43:15 +00:00
Jim Meyering
909f49e651 *** empty log message *** 2000-11-18 15:09:02 +00:00
Jim Meyering
54f2cba1b5 Update to use the Free Documentation Licence. 2000-11-18 15:08:57 +00:00
Jim Meyering
880e67d643 Change GNU to @sc{gnu} in many places. 2000-11-18 14:27:36 +00:00
Jim Meyering
166bbecf0b . 2000-11-18 14:10:40 +00:00
Jim Meyering
f94fab125e *** empty log message *** 2000-11-18 13:51:56 +00:00
Jim Meyering
8bbc00b147 (main): When failing to create a directory, give only
one diagnostic, not two.  Reported by Volker Borchert.
2000-11-18 13:49:44 +00:00
Jim Meyering
9ca70467e9 *** empty log message *** 2000-11-18 13:48:25 +00:00
Jim Meyering
16f1ca4c35 *** empty log message *** 2000-11-18 13:40:17 +00:00
Jim Meyering
c7087747a4 (TESTS): Add t-slash. 2000-11-18 13:39:49 +00:00
Jim Meyering
cdc8ee798f *** empty log message *** 2000-11-18 13:36:40 +00:00
Jim Meyering
caf54306a3 (main): With --parents, remove any trailing slashes
from the argument to the final mkdir call.  Required for NetBSD.
2000-11-18 13:36:24 +00:00
Jim Meyering
cde06a54ea Create and `cd' into temporary directory
before anything else.  Reported by Volker Borchert.
2000-11-18 13:19:23 +00:00
Jim Meyering
40af3c54b6 revert mysteriously-applied last delta! 2000-11-18 13:10:40 +00:00
Jim Meyering
bb56dec673 add -*- Makefile -*- 2000-11-18 13:02:44 +00:00
Jim Meyering
1234569e43 Sync with the one from fileutils. 2000-11-18 13:01:22 +00:00
Jim Meyering
82db55924e *** empty log message *** 2000-11-18 11:53:28 +00:00
Jim Meyering
9a99175c0e *** empty log message *** 2000-11-18 11:53:02 +00:00
Jim Meyering
88754c060d *** empty log message *** 2000-11-18 11:52:12 +00:00
Jim Meyering
d3a2ca48d4 . 2000-11-18 11:50:19 +00:00
Jim Meyering
6adb4780b5 . 2000-11-18 11:17:41 +00:00
Jim Meyering
6e3bd39c14 tweak a comment 2000-11-18 09:53:33 +00:00
Jim Meyering
cf59735d7b Formatting changes.
(obstack_grow, obstack_grow0): Don't cast WHERE at all: that would
prevent type checking.
(obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
cast the value to (void *): assigning a `foo *' to a `void *'
variable is valid.
(obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2000-11-18 09:50:09 +00:00
Jim Meyering
ff0e0181c9 *** empty log message *** 2000-11-17 10:22:20 +00:00
Jim Meyering
138e17c26e *** empty log message *** 2000-11-17 10:21:57 +00:00