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
Jim Meyering
0c5ab92b59
.
1997-01-30 04:16:33 +00:00
Jim Meyering
0ce61713d5
(usage): Remove one space in message to make colons line up.
1997-01-28 03:44:27 +00:00
Jim Meyering
771ab6e1bf
(print_long_format): Fix off-by-one problem in size being passed to strftime.
1997-01-28 03:40:18 +00:00
Jim Meyering
5f011471a3
really make the messages identical
1997-01-27 02:28:39 +00:00
Jim Meyering
07b07ca07c
.
1997-01-26 18:57:36 +00:00
Jim Meyering
26a10a8026
(usage): Fix typo (--writeable -> --writable) in help output
1997-01-26 18:51:44 +00:00
Jim Meyering
072c1efe39
(parse_options): Add quotes to make messages identical.
1997-01-26 18:50:33 +00:00
Jim Meyering
fe6c711f48
Restore dcl of free. with obstacks, you need it.
1997-01-26 05:57:04 +00:00
Jim Meyering
2c7c121c13
Revert last change. With obstack, dcl of free is *required*.
1997-01-26 05:55:02 +00:00
Jim Meyering
7f798f5f4f
(count_entry): Fix blatant bug (typo?) that made
...
--megabytes report numbers in units of kilobytes.
Reported by Galen Hazelwood.
1997-01-26 05:05:06 +00:00
Jim Meyering
a95088a5ea
(print_factors): Reflect changes to xstrtoul interface.
1997-01-26 04:52:32 +00:00
Jim Meyering
73ed11f2b7
(parse_options): Remove unnecessary goto and label.
1997-01-26 04:48:29 +00:00
Jim Meyering
3e0c759c3a
(parse_obsolescent_option): Comment.
1997-01-26 04:43:42 +00:00