Jim Meyering
dcc145f13a
Rearrange function definitions to precede respective uses to obviate
...
all forward dcls. Remove forward dcls.
Declare parameters const as appropriate.
1996-05-16 05:00:12 +00:00
Jim Meyering
ca0a087f3d
.
1996-05-16 04:44:39 +00:00
Jim Meyering
a56783bbb4
(selected_fstype): Move definition to precede use.
...
Remove prototype. Declare parameter FSTYPE to be const.
(excluded_fstype): Likewise.
(main): Fail with a diagnostic if both --human-readable and
--portability are used.
Likewise if --megabytes and --portability are used.
1996-05-16 04:31:45 +00:00
Jim Meyering
699808bcad
(do_link): Declare pointer parameters to be const.
1996-05-16 04:13:52 +00:00
Jim Meyering
fce70ef38b
(describe_change): Declare pointer parameters to be const.
...
(change_file_mode): Likewise.
(change_dir_mode): Likewise.
1996-05-16 03:55:44 +00:00
Jim Meyering
9622bd6207
(md5_t_stats): Restructure pluralization of error message so it's easier
...
to translate.
1996-05-15 04:45:12 +00:00
Jim Meyering
f177941b93
(print_stats): Restructure pluralization of error message so it's easier
...
to translate.
1996-05-15 04:37:50 +00:00
Jim Meyering
a2c6905133
(main): Restructure pluralization of error message so it's easier to translate.
1996-05-15 04:37:08 +00:00
Jim Meyering
bd395b3bfc
(main): Use fputs, not puts. Avoids spurious newline.
1996-05-06 01:26:25 +00:00
Jim Meyering
c434fa5195
Look for SYSTEM_FILE, not USER_FILE in SHAREDIR.
1996-05-05 02:41:29 +00:00
Jim Meyering
cafa5c1c2d
Make enumerated constants upper case.
...
(main): Don't rely on ANSI-style string concatenation.
Add `static' and/or `const' to some file scope variables.
1996-05-05 02:15:23 +00:00
Jim Meyering
d4e2205ea9
Remove useless void casts of *printf return values.
1996-05-05 02:04:04 +00:00
Jim Meyering
812fdadfca
[IN_CTYPE_DOMAIN]: Rename from ISASCII.
1996-05-05 01:55:16 +00:00
Jim Meyering
437e9a0bc4
.
1996-05-02 02:47:10 +00:00
Jim Meyering
389c4049b3
(parse_ls_color, usage): Remove support for alternate spellings:
...
--colours and LS_COLOURS.
(parse_ls_color): Reverse sense of test for LS_COLORS environment
variable and return -- save a level of indentation on a 100+-line block.
1996-05-02 02:45:43 +00:00
Jim Meyering
482d5be531
(parse_ls_color, usage): Remove support for alternate spellings:
...
--colours and LS_COLOURS.
1996-05-01 05:19:34 +00:00
Jim Meyering
12da649245
(usage): Change TAB in message to spaces. Doing that seems
...
to have worked around a problem with something in gettext that was
producing a truncated usage message for date's usage.
Franois Pinard.
1996-04-30 03:30:51 +00:00
Jim Meyering
22aec49d4c
(main): Separate messages about too few' and too many'
...
arguments to ease translation.
From Franc,ois.
1996-04-30 03:29:01 +00:00
Jim Meyering
6580f24783
Mark translatable strings.
...
(main): Separate messages about `too few' and `too many'
arguments to ease translation.
From Franc,ois.
1996-04-30 03:26:34 +00:00
Jim Meyering
a3c143bd82
Mark translatable strings.
1996-04-30 03:20:38 +00:00
Jim Meyering
07e148c8e7
(print_name_with_quoting): Add braces around inner if-else stmt.
1996-04-29 04:53:53 +00:00
Jim Meyering
8455ea2e13
(LEN_STR_PAIR): New macro.
...
(color_indicator): Use it in this declaration.
(parse_ls_color): Use error, not fprintf.
(decode_switches): Add a comment.
1996-04-29 04:52:16 +00:00
Jim Meyering
95439d0f33
(parse_ls_color): Use strcpy to initialize 3-character array.
...
Automatic aggregate initialization isn't portable.
1996-04-29 04:31:24 +00:00
Jim Meyering
aa7d0d8c85
Remove all ^L's.
...
(get_funky_string): Declare static and move to precede single
caller: parse_ls_color.
1996-04-29 04:29:06 +00:00
Jim Meyering
3ce3cb772d
(get_funky_string): Upper-case anon. union `state'.
1996-04-29 04:26:47 +00:00
Jim Meyering
e08a28e045
Apply color ls changes from Drepper.
1996-04-29 04:24:07 +00:00
Jim Meyering
6ea9602009
.
1996-04-29 04:04:59 +00:00
Jim Meyering
ea11fd8868
FIXME
1996-04-29 01:44:33 +00:00
Jim Meyering
346b0368cf
.
1996-04-29 01:43:52 +00:00
Jim Meyering
30f76e827e
(main): Give a better diagnostic for `sort -0'. Reported by Karl Berry.
1996-04-29 01:35:18 +00:00
Jim Meyering
5a5938db82
(copy_rest): Don't copy past end of prefix. Output
...
trailing spaces if the prefix had any. Before, the command
perl -e 'print "| S";' |fmt -p' | '|tr '\0' @ output `|@S'.
Reported by Franois Pinard.
1996-04-29 01:28:06 +00:00
Jim Meyering
c17caa0c0f
Fri Apr 26 05:52:03 1996 Karl Eichwalder <ke@ke.Central.DE>
...
* ls.c (usage): Add newline at end of printf format string.
1996-04-27 04:10:54 +00:00
Jim Meyering
56d10407e7
(main): Use verbose_fmt_string, not string literal in
...
call to make_path for --parents. From Uli.
1996-04-25 03:10:57 +00:00
Jim Meyering
f3194fe603
(do_link): With --force, don't remove DEST when it's
...
the same as SOURCE. Before, `ln -f FILE FILE' would remove FILE.
Reported by Bruno Haible.
1996-04-25 02:47:07 +00:00
Jim Meyering
f59d1dac46
(do_link): Remove duplicate `if (lstat' block.
1996-04-25 02:34:36 +00:00
Jim Meyering
272f8d891e
(usage): The long-named arg is --human-readable, not --human.
1996-04-24 05:05:34 +00:00
Jim Meyering
25f22cdc5d
Be consistent. Accept --human-readable, not --human.
...
(usage): Reflect the change.
1996-04-24 05:04:44 +00:00
Jim Meyering
59d334f4d4
update Copyright years for 1996
1996-04-24 04:50:53 +00:00
Jim Meyering
e6eece1575
update Copyright years for 1996
1996-04-24 04:45:54 +00:00
Jim Meyering
dc98736719
update Copyright years for 1996
1996-04-24 04:42:21 +00:00
Jim Meyering
69e6145e1e
[HAVE_LCHOWN]: Define chown to lchown.
1996-04-24 03:44:29 +00:00
Jim Meyering
fb19d01b96
[chown]: Move definition up a little.
1996-04-24 03:41:33 +00:00
Jim Meyering
b380f45a13
[HAVE_LCHOWN]: Define chown to lchown.
1996-04-24 03:41:10 +00:00
Jim Meyering
8e12bada8a
[HAVE_LCHOWN]: Define chown to lchown.
1996-04-24 03:40:18 +00:00
Jim Meyering
ade410fae0
[HAVE_LCHOWN]: Define chown to lchown.
1996-04-24 03:35:55 +00:00
Jim Meyering
78273e9d23
(main): Declare to return int, not void.
1996-04-24 03:24:54 +00:00
Jim Meyering
2b5207bc59
(main): Declare to return int, not void.
1996-04-24 03:23:54 +00:00
Jim Meyering
deeb3e0c49
(usage): Add missing close paren and open paren.
1996-04-24 03:23:37 +00:00
Jim Meyering
674180c97f
(usage): Use FIRST, LAST consistently in description.
1996-04-22 03:20:14 +00:00
Jim Meyering
c264e159a4
(usage): Describe new %V format.
1996-04-22 03:19:14 +00:00