Jim Meyering
1648386aa0
(siginfo_handler): Mark parameter with ATTRIBUTE_UNUSED.
...
Change lots of count and index variables to be of unsigned type.
(dd_copy): Add new unsigned variable, n_bytes_read, in place of
many uses of `nread'.
1999-09-19 16:23:17 +00:00
Jim Meyering
96949ef7f5
(__attribute__): Define.
...
(ATTRIBUTE_NORETURN): Remove #else clause.
(ATTRIBUTE_UNUSED): Define.
1999-09-19 16:21:26 +00:00
Jim Meyering
67aaf0afa6
(usage): Remove misleading sentence in --help output.
...
From Karl Heuer.
1999-09-09 19:56:10 +00:00
Jim Meyering
fc02691130
Remove declaration of xstrdup.
1999-09-08 08:39:49 +00:00
Jim Meyering
85e0053136
Remove xstrdup declaration.
1999-09-02 21:34:04 +00:00
Jim Meyering
b10b8369dd
Remove xstrdup declaration.
1999-09-02 21:33:23 +00:00
Jim Meyering
1aab3474a1
Remove xstrdup declaration.
1999-09-02 21:33:00 +00:00
Jim Meyering
d1b4719534
Remove xstrdup declaration.
1999-09-02 21:31:19 +00:00
Jim Meyering
967bd9f5f0
Remove declaration of xstrdup.
1999-09-01 13:28:21 +00:00
Jim Meyering
8a29209450
Add .rpm, .png, and .fli.
...
From Andres Soolo.
1999-08-31 20:46:18 +00:00
Jim Meyering
038e5f009e
(longopts): Restore accidentally-removed entry for `--portability' long option.
1999-08-30 14:43:52 +00:00
Jim Meyering
4ab0a2a4c6
(usage): Correct --help message.
1999-08-30 14:41:05 +00:00
Jim Meyering
4b20f454fe
split a long line.
1999-08-30 14:39:05 +00:00
Jim Meyering
33bebae5ae
(usage): Correct --help message.
1999-08-30 14:38:00 +00:00
Jim Meyering
ccff4ede2b
(usage): Correct --help message.
1999-08-30 14:37:40 +00:00
Jim Meyering
6f48cb1924
(usage): Correct --help message.
1999-08-30 14:36:26 +00:00
Jim Meyering
98ecd5b300
(usage): Correct --help message.
1999-08-30 14:36:06 +00:00
Jim Meyering
57e5f5a5b5
(usage): Correct --help message.
1999-08-30 14:35:45 +00:00
Jim Meyering
2a0b67dc3b
(usage): Correct --help message.
1999-08-30 14:35:20 +00:00
Jim Meyering
75789c4643
(main): Call exit explicitly to avoid warning from gcc.
...
Include "xstrtol.h".
(isinteger): Remove function and prototype.
(main): Use xstrtol in place of atoi. Remove associated FIXME comments.
1999-08-29 21:09:34 +00:00
Jim Meyering
678cbc835e
(isinteger): Move definition to precede use. Remove prototype.
1999-08-29 20:49:07 +00:00
Jim Meyering
de8d09d22d
(main): Call exit explicitly to avoid warning from gcc.
1999-08-29 20:47:17 +00:00
Jim Meyering
b266f1a207
(main): Call exit explicitly to avoid warning from gcc.
1999-08-29 20:45:50 +00:00
Jim Meyering
53e173cca6
(detect_loop): There's no loop if k->top is NULL.
1999-08-22 16:10:24 +00:00
Jim Meyering
19a165cc9c
tweak comment
1999-08-22 11:34:56 +00:00
Jim Meyering
7a7ef5ff5b
(check_file): Explain why we have separate if' and else'
...
blocks when the code in the else block could handle both cases.
1999-08-22 11:31:08 +00:00
Jim Meyering
9503681d86
(check_file): Generate each line of output earlier,
...
when possible. It is possible when using none of these options:
--count, -repeated, --all-repeated, --unique.
Based on a patch from Ian Turner.
(check_file): Move declarations of local variables into the scopes where used.
(min): Remove macro definition.
(different): Use MIN, not min.
(SWAP_LINES): New macro.
(check_file): Use it here.
1999-08-22 11:17:42 +00:00
Jim Meyering
95b8288176
(ATTRIBUTE_NORETURN): Define.
1999-08-22 10:57:51 +00:00
Jim Meyering
5a2d528081
Use ATTRIBUTE_NORETURN instead of NO_RETURN_ATTRIBUTE.
1999-08-22 10:57:40 +00:00
Jim Meyering
705cf20084
(run_shell): Declare with noreturn attribute.
...
Use an explicit exit(1) rather than doing that through error.
1999-08-22 10:53:13 +00:00
Jim Meyering
a343e68e00
(main): Rename locals i and j.
...
Use IF_LINT macro instead of #ifdef lint...
1999-08-22 10:21:36 +00:00
Jim Meyering
8313e867b2
(validate_path): Use IF_LINT macro instead of #ifdef lint.
1999-08-22 10:19:35 +00:00
Jim Meyering
4dac9be014
(batch_convert): Use IF_LINT macro instead of #ifdef lint.
1999-08-22 10:19:15 +00:00
Jim Meyering
46554e300b
(dump): Use IF_LINT macro instead of #ifdef lint...
...
(main): Likewise.
1999-08-22 09:51:20 +00:00
Jim Meyering
8b5ed0399d
(paste_parallel): Use IF_LINT macro instead of #ifdef lint...
1999-08-22 09:50:56 +00:00
Jim Meyering
e11d70c362
(read_line): Use IF_LINT macro instead of #ifdef lint...
1999-08-22 09:50:31 +00:00
Jim Meyering
005c36b178
(checkfp): Use IF_LINT macro instead of #ifdef lint...
...
(mergefps): Likewise.
1999-08-22 09:50:05 +00:00
Jim Meyering
0e3b9af25b
(usage): Correct bug-reporting email address.
...
(tsort): Remove trailing `\n' in error format.
1999-08-22 09:45:52 +00:00
Jim Meyering
1ec1017a23
(IF_LINT): Define new macro.
1999-08-22 09:43:48 +00:00
Jim Meyering
bab0581788
(md5_check): Remove trailing `\n' in error format.
1999-08-22 09:43:25 +00:00
Jim Meyering
e23b334713
(SWAP_LINES): New macro.
...
(check_file): Use it here.
[really remove min macro, this time]
1999-08-22 08:57:37 +00:00
Jim Meyering
475a58337a
(writeline): Constify a char*.
1999-08-22 08:48:45 +00:00
Jim Meyering
1195909f5d
(cksum): Constify a char*.
1999-08-22 08:48:06 +00:00
Jim Meyering
138cf56fdb
(parse_integer): Add `const' to char* parameter and
...
add a separate `suffix' variable.
1999-08-22 08:46:33 +00:00
Jim Meyering
a711e8e132
(check_file): Move declarations of local variables
...
into the scopes where they're used.
(min): Remove macro definition.
(different): Use MIN, not min.
1999-08-22 08:16:34 +00:00
Jim Meyering
b4e8324ac2
(usage): Remove the ` [-v]' from the Usage: line.
1999-08-21 20:26:18 +00:00
Jim Meyering
82288821f0
(usage): Tweak --help output to make it more consistent with that of chgrp.
1999-08-20 08:58:34 +00:00
Jim Meyering
28c95e39c1
(usage): Tweak --help output to make it more consistent with that of chown.
1999-08-20 08:58:21 +00:00
Jim Meyering
4d22e13282
This change is nearly identical to the chown.c change of 1998-05-24
...
Accept new option, --dereference.
--no-dereference is now the default. Include lchown.h.
(enum Change_status) [CH_NOT_APPLIED]: New member.
(change_symlinks): Enable this by default, now.
(describe_change): Handle new case.
(change_file_group): Add new parameter: cmdline_arg. Update callers.
Reorganize to reflect changed semantics.
(LCHOWN): Remove definitions.
From Bruno Haible.
1999-08-16 21:21:39 +00:00
Jim Meyering
18607df151
(groupname): Declare to be `const'.
...
(change_dir_owner): Declare statp parameter to be `const'.
(usage): Make the output be more consistent with that from chgrp.
1999-08-16 21:20:44 +00:00