Jim Meyering
cc093a9945
(main): Implement new --max-depth=N option.
...
Based on the idea and a patch from Torbjorn Lindgren.
(du_files): Likewise.
(count_entry): Likewise.
1997-03-27 05:47:56 +00:00
Jim Meyering
66c246fc17
cpp-indent
...
Change a few #ifdef to #if.
Remove 3 spurious #ifdef that were guarding an #undef each.
1997-03-19 02:56:54 +00:00
Jim Meyering
33da7dcdda
(check_format): Rename local, FORMAT_STRING, to avoid shadowing global.
...
(print_numbers): Likewise.
1997-03-19 02:12:36 +00:00
Jim Meyering
3f2ded808d
(idle_string): Rename local, IDLE, to avoid shadowing global.
1997-03-18 23:34:23 +00:00
Jim Meyering
bcdeccb6a3
(log_su): Resort to getpwuid if getlogin fails.
...
If no tty name is found, use `none' in the log message.
Based on a patch from Galen Hazelwood.
1997-03-18 12:49:20 +00:00
Jim Meyering
f02b837782
(main): Allow use of 0 (zero) as the margin offset
...
argument to the -o option. Patch from Gary Anderson.
1997-03-14 04:06:12 +00:00
Jim Meyering
c127695e96
(main): Make sure c1 is not -1 before using it as an
...
array index. Patch from Greg McGary. Although this is truly a
bug, I believe it would not cause tr to misbehave on most systems.
I could not construct a test case with which this bug causes tr
to generate invalid output.
1997-03-14 03:59:21 +00:00
Jim Meyering
7017b8f67f
(change_file_group): Use uid of -1 to indicate
...
we don't want to change the file's user ID.
1997-03-13 05:19:54 +00:00
Jim Meyering
613357b0ab
(decode_switches): Ignore value of COLUMNS envionment
...
variable when it is the empty string. Suggestion from Ulrich Drepper.
1997-03-10 04:47:32 +00:00
Jim Meyering
ea805db369
(usage): Fix typo in --help output. From Andreas Schwab.
1997-03-01 04:33:59 +00:00
Jim Meyering
94cab36432
(re_protect): When there is any potential for ambiguity in a diagnostic,
...
give explanatory diagnostic in addition to file name.
1997-02-27 05:49:44 +00:00
Jim Meyering
e1b834211b
(copy_internal): When there is any potential for
...
ambiguity in a diagnostic, give explanatory diagnostic in addition
to file name.
1997-02-27 05:49:01 +00:00
Jim Meyering
2e31651a02
(factor): Rewrite inner loop to be more efficient.
...
Patch from Torbjorn Granlund.
1997-02-20 05:11:12 +00:00
Jim Meyering
4af2c36dfa
(main): Remove trailing slashes from command line arguments.
...
Otherwise, running `mkdir x; chmod 644 x; ls -d x/' (note the trailing
slash) makes ls fail with permission denied on at least Linux 1.2.13
and 2.0.14 systems.
1997-02-20 04:54:56 +00:00
Jim Meyering
dd77d0602a
Add missing paren.
1997-02-16 23:49:11 +00:00
Jim Meyering
feb2f918b3
(parse_obsolescent_option): Reverse order of args in diagnostic.
...
Remove `' quotes in diagnostic.
(parse_options): Remove `' quotes in diagnostic.
1997-02-16 14:31:39 +00:00
Jim Meyering
6bdbdae68c
fixed off-by-one error
1997-02-12 16:31:01 +00:00
Jim Meyering
59f891e8b8
FIXME: major revamp to use FILE*; passed a few more tests
1997-02-12 16:25:40 +00:00
Jim Meyering
2be25646bd
change wording in message
1997-02-09 16:07:38 +00:00
Jim Meyering
4ee12115f0
update copyright
1997-02-09 04:56:33 +00:00
Jim Meyering
7eb03c4372
update copyrights for 1997
1997-02-09 04:54:16 +00:00
Jim Meyering
b7ffe8cdaf
update copyrights for 1997
1997-02-09 04:52:50 +00:00
Jim Meyering
dbc538f92b
update copyrights for 1997
1997-02-09 04:46:02 +00:00
Jim Meyering
562488ee9c
(parse_obsolescent_option): Give warning diagnostic for
...
(but now accept) obsolescent usage with more than one file argument.
1997-02-09 04:44:47 +00:00
Jim Meyering
b7a12bb110
(quote_filename): Allocate two more bytes (for quotes)
...
when using --quote-name (-Q).
Feb 2 change wasn't complete. Patch from Mark Harris.
1997-02-06 03:58:09 +00:00
Jim Meyering
49e3c8fee2
Bracket inclusion of termios.h with #if HAVE_TERMIOS_H.
...
Masami Takikawa reported that NeXTStep 3.0 doesn't have termios.h.
1997-02-05 04:06:53 +00:00
Jim Meyering
c1e4806502
[__GNUC__]: Don't define alloca to __builtin_alloca.
1997-02-04 03:52:16 +00:00
Jim Meyering
e8bcfd934a
Move alloca-related preprocessor code into system.h.
1997-02-03 05:08:19 +00:00
Jim Meyering
a2ffd5db02
[__GNUC__]: Don't define alloca to __builtin_alloca.
1997-02-03 04:20:22 +00:00
Jim Meyering
6a203a2347
(quote_filename): Don't backslash-escape double quotes.
...
This fixes a problem whereby columns weren't aligned when some files
contained double quote characters and ls's --escape (-b) option was
used. Reported by Mark Harris.
1997-02-03 00:10:40 +00:00
Jim Meyering
a15366696c
* src/cp-hash.c (struct entry): Move dcl to this file from cp.h.
...
(struct htab): Likewise.
No longer include cp.h. Instead, include the things it used to include.
1997-02-02 22:21:03 +00:00
Jim Meyering
c64a391bb2
.
1997-02-02 21:23:10 +00:00
Jim Meyering
1d286acd9a
(hash_insert2): Rename local HTAB to HT to avoid shadowing global.
1997-02-02 20:44:10 +00:00
Jim Meyering
b63df62ce1
[obstack_chunk_alloc]: Define to malloc, not xmalloc
...
to work better with new obstack functions.
1997-02-02 20:11:54 +00:00
Jim Meyering
ff323743c5
[obstack_chunk_alloc]: Define to malloc, not xmalloc
...
to work better with new obstack functions.
1997-02-02 20:10:11 +00:00
Jim Meyering
50d2bb5b7b
(main): Rename local I to C to avoid shadowing and to
...
be more consistent. Declare I in inner scopes.
1997-02-02 20:09:02 +00:00
Jim Meyering
1a375e421b
Gutted code -- pieces are in copy.[ch].
1997-02-02 18:33:19 +00:00
Jim Meyering
badb35bdb7
.
1997-02-02 00:09:46 +00:00
Jim Meyering
3cca84e543
.
1997-02-02 00:09:25 +00:00
Jim Meyering
4ea19e3b31
.
1997-02-01 23:12:18 +00:00
Jim Meyering
fec37a7211
(init_parameters): For compatibility: use default
...
separator `TAB' with full length lines. From Roland Huebner.
1997-02-01 13:23:27 +00:00
Jim Meyering
cd0b33c839
(usage): Make parenthetical note on --no-dereference a little more general.
1997-02-01 04:49:51 +00:00
Jim Meyering
e077b7593b
bracket bug address with <> and append a period
1997-02-01 04:24:58 +00:00
Jim Meyering
a882d55b52
bracket bug address with <> and append a period
1997-02-01 04:24:08 +00:00
Jim Meyering
899a90bfd9
bracket bug address with <> and append a period
1997-02-01 04:23:31 +00:00
Jim Meyering
09f70cf63b
Rename globals buffer and buffer_size to have G_ prefix
...
to avoid shadowing local variables.
1997-02-01 03:29:21 +00:00
Jim Meyering
d4efcf477e
(add_line_number): Rename from `number' to avoid shadowing local variables.
1997-02-01 03:25:14 +00:00
Jim Meyering
b8c82a8e39
Compare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0' as last parameter in getopt_long call.
1997-02-01 03:05:36 +00:00
Jim Meyering
4f51b86bfb
Compare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0' as last parameter in getopt_long call.
1997-02-01 03:03:44 +00:00
Jim Meyering
c2d2dec516
Compare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0' as last parameter in getopt_long call.
1997-02-01 02:00:04 +00:00