1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-30 20:40:08 +02:00
Commit Graph

1316 Commits

Author SHA1 Message Date
Jim Meyering 4d9669b8d9 . 1995-11-27 14:25:39 +00:00
Jim Meyering 18573f3eb2 (usage): Clarify description of --no-dereferences. 1995-11-27 05:46:24 +00:00
Jim Meyering 57ec0f45c9 s/non-zero/nonzero/g 1995-11-27 05:34:31 +00:00
Jim Meyering a7830ac93b . 1995-11-27 05:29:44 +00:00
Jim Meyering 488bd9911e . 1995-11-27 03:11:36 +00:00
Jim Meyering 7956c15081 s/non-zero/nonzero/g 1995-11-27 03:09:18 +00:00
Jim Meyering 0402200daf Clarify usage. From Karl Berry. 1995-11-26 22:09:43 +00:00
Jim Meyering dc0708fa82 . 1995-11-26 21:51:42 +00:00
Jim Meyering 7b9ad5a22f [!UINT_MAX]: Define.
[!INT_MAX]: Define.
Include xstrtoul.h.
(string_to_number): Remove function.
(check_for_offset): Use xstrtoul instead of string_to_number.
(parse_repeat_count): Likewise.
(parse_patterns): Likewise.
(main): Likewise.
1995-11-26 21:49:53 +00:00
Jim Meyering c4e9f56745 . 1995-11-24 05:29:28 +00:00
Jim Meyering b69a467146 . 1995-11-23 05:17:50 +00:00
Jim Meyering 75cce0c815 . 1995-11-18 20:19:17 +00:00
Jim Meyering 546754d2e9 . 1995-11-18 18:17:42 +00:00
Jim Meyering e8f8b7a82d Remove autodep junk. 1995-11-18 06:36:47 +00:00
Jim Meyering c54a604289 Indent cpp directives. 1995-11-18 06:17:07 +00:00
Jim Meyering f52e14c576 . 1995-11-17 03:41:20 +00:00
Jim Meyering a0aef26c06 . 1995-11-17 03:29:26 +00:00
Jim Meyering 4d4a6210f7 Remove obsolete FIXME. 1995-11-16 07:39:44 +00:00
Jim Meyering a5ad9a2579 . 1995-11-16 07:32:45 +00:00
Jim Meyering 79d6ddd36a Fix up description of md5sum --check. 1995-11-16 06:18:17 +00:00
Jim Meyering 18da62e303 . 1995-11-15 23:41:08 +00:00
Jim Meyering 77469b714b (*format_address): Tweak dcl. 1995-11-15 22:16:30 +00:00
Jim Meyering 1fbac54162 [__P]: Don't define it here. 1995-11-15 22:12:59 +00:00
Jim Meyering cf14c509f3 Use __P. 1995-11-15 21:59:55 +00:00
Jim Meyering 02bde8d334 . 1995-11-15 21:59:20 +00:00
Jim Meyering e99f534046 . 1995-11-15 21:58:58 +00:00
Jim Meyering aeac9910cb . 1995-11-15 21:48:06 +00:00
Jim Meyering f84513b43e (sort, -g): Document it.
(join, new `0' format): Likewise.
1995-11-15 21:47:44 +00:00
Jim Meyering 34fc818d7e Add support for sorting numbers in scientific notation.
Include xstrtod.h.
(struct keyfield): Add field: general_numeric.
(usage): Describe -g option.
(general_numcompare): New function.
(keycompare): Use new comparison function when general_numeric
flag is set.
(set_ordering): Honor `g' flag.
(main): Initialize and use new field.
From Marcus Daniels <marcus@sysc.pdx.edu>.
1995-11-15 21:42:47 +00:00
Jim Meyering f1e1eb58be Break long lines. 1995-11-15 15:45:28 +00:00
Jim Meyering 3d6c17e94f Indent. 1995-11-15 15:04:51 +00:00
Jim Meyering ef3e297950 . 1995-11-15 05:40:11 +00:00
Jim Meyering 5cf3719e7b (cleanup): Don't exit.
(cleanup_fatal): New function.  Call cleanup, then exit.
(sighandler): New function.
(cleanup_fatal): Renamed from cleanup.  Call cleanup, then exit.
Update callers.
(tac_stdin): Set up sighandler as signal handler, not `cleanup'.
1995-11-15 05:39:58 +00:00
Jim Meyering b36e366ef4 (cleanup): Don't exit.
(cleanup_fatal): New functoin.  Call cleanup, then exit.
(interrupt_handler): Rewrite to reset default signal handler
then repost caught signal.
(xmalloc, xrealloc, read_input, write_to_file, handle_line_error,
process_line_count, process_regexp, create_output_file, close_output_file):
Call cleanup_fatal, not cleanup.
Add const attribute to lots of parameters.
1995-11-15 05:32:28 +00:00
Jim Meyering c2b86aabe0 . 1995-11-11 22:09:47 +00:00
Jim Meyering 849a1c46cf (skip): Cast fseek's offset argument to `long'.
Erik Bennett <bennett@cvo.oneworld.com> reported that this is
necessary on BSDI systems.  And if offset doesn't fit in a long,
then try using lseek instead.
1995-11-11 22:08:16 +00:00
Jim Meyering 7c863aef95 . 1995-11-11 21:46:41 +00:00
Jim Meyering cc7705fe6f (xmalloc): Declare static.
(xrealloc): Likewise.
1995-11-11 21:46:32 +00:00
Jim Meyering e97b60d16a . 1995-11-11 14:36:06 +00:00
Jim Meyering 1b1382a3a9 (cleanup): Add signal number parameter.
Update callers.
1995-11-11 14:35:27 +00:00
Jim Meyering ff0e048521 . 1995-11-11 14:22:33 +00:00
Jim Meyering 0af7afd19f . 1995-11-11 14:21:24 +00:00
Jim Meyering 24aec7f87f (main): Don't die when dev/ino of input and output are
the same and the file descriptors correspond to stdin and stdout.
This is necessary on at least Digital UNIX (aka OSF1) 3.2C.
Otherwise, running `cat << X > $$' would fail with `cat: -: input
file is output file'.  From Jarkko Hietaniemi <jhi@epsilon.hut.fi>.
1995-11-11 14:21:15 +00:00
Jim Meyering acb7c4ee48 Add __P in dcl of format_address function. 1995-11-11 03:28:38 +00:00
Jim Meyering 5796c221a1 (usage): Clarify meaning of --spaces. 1995-11-11 03:27:15 +00:00
Jim Meyering dde28b7ffe Don't include error.h here. 1995-11-10 15:20:00 +00:00
Jim Meyering dfa21e5966 . 1995-11-10 15:15:38 +00:00
Jim Meyering 8014db4d68 Protect prototyped forward dcls with __P. 1995-11-10 14:56:21 +00:00
Jim Meyering c6394074a8 (parse_ls_color): Use strcpy to initialize 3-character array.
Automatic aggregate initialization isn't portable.
1995-11-10 14:54:08 +00:00
Jim Meyering 83ce0dcba6 Remove fwd dcls. 1995-11-10 14:48:57 +00:00