1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-11 06:34:40 +02:00
Commit Graph

19379 Commits

Author SHA1 Message Date
Jim Meyering
b0a3bb7aed (enum) [ALG_MD5]: Define to be 1, not 0. 2004-09-22 20:11:10 +00:00
Jim Meyering
470e384363 (xalloc_die): Declare to be static. 2004-09-22 20:09:41 +00:00
Jim Meyering
1c6e93bd12 (remember_created): Declare as `extern'. 2004-09-22 20:09:09 +00:00
Jim Meyering
e09b9a32bd (copy): Declare as `extern'. 2004-09-22 20:08:59 +00:00
Jim Meyering
a399cd6876 (chown_files): Declare as `extern'. 2004-09-22 20:08:51 +00:00
Jim Meyering
acb87bd31e . 2004-09-22 20:07:02 +00:00
Jim Meyering
3659726384 (check-AUTHORS): New rule.
(check): Depend on it.
2004-09-22 20:06:44 +00:00
Jim Meyering
4ed4812fe8 Generate. 2004-09-22 20:03:50 +00:00
Jim Meyering
7ff5102854 (syntax-check-rules): Remove duplicate sc_tight_scope.
(sc_system_h_headers): Also exclude copy.h; it includes <stdbool.h>.
2004-09-22 20:02:53 +00:00
Jim Meyering
cce2236cbd Remove trailing blanks. 2004-09-22 20:00:58 +00:00
Jim Meyering
5414dae31f Remove trailing blanks. 2004-09-22 20:00:37 +00:00
Jim Meyering
b4fb292a82 remove trailing blank 2004-09-22 19:59:20 +00:00
Paul Eggert
e8014b940c * src/ls.c (decode_switches): Don't compare a short value to SIZE_MAX. 2004-09-22 19:47:59 +00:00
Paul Eggert
058d0dab92 (decode_switches): Don't compare a short value
to SIZE_MAX: GCC sometimes complains.
2004-09-22 19:47:38 +00:00
Paul Eggert
afa60ee222 getopt cleanup. 2004-09-21 22:27:07 +00:00
Paul Eggert
81ca57a91d Remove unused "case 0". 2004-09-21 22:26:42 +00:00
Paul Eggert
718c00df82 Adjust to new wording in diagnostic. 2004-09-21 22:25:51 +00:00
Paul Eggert
9873bd7eb6 (main): Remove unused "case 0".
(verbose): Now bool, not int.
(VERBOSE_OPTION): New enum.
(longopts, main): Use it.
2004-09-21 22:13:53 +00:00
Paul Eggert
26877d8d31 Don't include "long-options.h". 2004-09-21 22:13:13 +00:00
Paul Eggert
9fb20db0af Don't include "long-options.h".
(main): Remove unused "case 0".
2004-09-21 22:12:55 +00:00
Paul Eggert
1ccaf98c8c (longopts): Add --help, --version.
(main): Use longopts rather than parse_long_options.
Don't include "long-options.h".
2004-09-21 22:12:13 +00:00
Paul Eggert
288994697f (longopts): Add --help, --version.
(main): Use longopts rather than parse_long_options.
(main): Don't reorder arguments, so that we can check weird file names.
2004-09-21 22:11:28 +00:00
Paul Eggert
ca316df53c Remove unused "case 0".
(long_opts): Standardize on NULL vs 0.
2004-09-21 22:10:39 +00:00
Paul Eggert
31bf55d54c (main): Remove unused "case 0".
(long_options): Standardize on NULL vs 0.
2004-09-21 22:09:52 +00:00
Paul Eggert
4ef2590268 Remove now-unused long-options static var.
(main): Use getopt where it suffices, not getopt_long.
2004-09-21 22:09:09 +00:00
Paul Eggert
3456364b8c (main): Use getopt where it suffices, not getopt_long. 2004-09-21 22:07:51 +00:00
Paul Eggert
aa1ed28185 Reject unknown options. 2004-09-21 22:05:52 +00:00
Paul Eggert
6c9dc0efd9 Reject unknown options. 2004-09-21 22:05:27 +00:00
Paul Eggert
b78d6f6d92 Include <getopt.h>.
(main): Use getopt where it suffices, not getopt_long.
2004-09-21 22:04:31 +00:00
Paul Eggert
4fa016cbc9 Include <getopt.h>.
(main): Reject unknown options.
2004-09-21 22:01:50 +00:00
Paul Eggert
0d219ee57d Include <getopt.h>.
(main): Reject unknown options.
2004-09-21 22:01:28 +00:00
Paul Eggert
d243dee60a The following commands now reject unknown options:
basename dirname factor hostname link nohup sync unlink yes
Also, pathchk no longer accepts trailing options.
2004-09-21 22:00:27 +00:00
Paul Eggert
d11d06abfa * man/rm.x: Say "the response is affirmative". 2004-09-21 07:54:15 +00:00
Paul Eggert
abc9ec97f6 Say "the response is affirmative" rather than "the
response begins with y or Y".
2004-09-21 07:53:54 +00:00
Paul Eggert
5e1765ba6c * coreutils.texi (mv invocation, rm invocation): Say "the response
is affirmative" rather than "the response begins with y or Y".
2004-09-21 05:56:21 +00:00
Paul Eggert
2e1b232b61 (mv invocation, rm invocation): Say "the response
is affirmative" rather than "the response begins with y or Y".
2004-09-21 05:56:11 +00:00
Paul Eggert
dcb7800cf2 Fix echo off-by-1 bug. 2004-09-20 07:34:26 +00:00
Paul Eggert
82a84d38cb (main): Don't dump core if POSIXLY_CORRECT and given no arguments. 2004-09-20 06:32:10 +00:00
Paul Eggert
d89f5a3b8f Remove md5sum --string. 2004-09-19 16:53:00 +00:00
Paul Eggert
83100c448b (STRING_OPTION): Remove.
(long_options, main): Remove support for undocumented and
obsolete --string option, as suggested in the 1996-09-26 patch.
2004-09-19 16:52:50 +00:00
Paul Eggert
e165ffef18 Fix sticky-directory test case bug reported by Bert Fischer. 2004-09-19 07:11:48 +00:00
Paul Eggert
d98eed0845 Don't try to remove writeable files in a sticky /tmp directory, as
SVR4-like systems (e.g., Solaris 9) let you remove such files.
2004-09-19 07:11:16 +00:00
Paul Eggert
3074778063 m5sum cleanup 2004-09-19 02:21:18 +00:00
Paul Eggert
fdac7ecb11 (STATUS_OPTION, STRING_OPTION): New enums.
(long_options, main): Use them instead of magic numbers 2 and 1.
For --string, optarg can't possibly be NULL.
2004-09-19 02:21:09 +00:00
Paul Eggert
6de3d41d5f dd invocation fixes 2004-09-19 02:14:09 +00:00
Paul Eggert
59a53b222e Log changes to dd, chroot, cksum. 2004-09-19 02:13:56 +00:00
Paul Eggert
95547591e9 (dd invocation): Distinguish between options
(e.g., --help) and operands (e.g., if=file).  Move miscellaneous
stuff after the operand descriptions, for clarity.
2004-09-19 01:46:28 +00:00
Paul Eggert
701fdccca9 (usage): Distinguish between options and operands.
(scanargs): Don't mess with argc, argv; getopt_long handles this now.
Say "operands" for operands, not "options".
(main): Use getopt_long, so that "dd --" works as POSIX requires.
2004-09-19 01:46:09 +00:00
Paul Eggert
379580a006 Check for "dd --". 2004-09-19 01:45:48 +00:00
Paul Eggert
77f80f747e (main): Usage failure is EXIT_FAIL, not EXIT_FAILURE. 2004-09-19 01:07:46 +00:00