Jim Meyering [Wed, 29 Nov 1995 19:23:30 +0000 (19:23 +0000)]
Mark all translatable strings using po-mode.el.
Jim Meyering [Tue, 28 Nov 1995 20:07:17 +0000 (20:07 +0000)]
(begfield): Replace unnecessary loop with if-else.
(limfield): Fix bug that made field specs like -k1.5 return a
pointer into LINE beyond the first field.
Rewrite to properly ignore trailing blanks.
Replace unnecessary loop with if-else.
(main): Don't decrement T2 corresponding to `x' in field specs like -ku.v,w.x.
Jim Meyering [Tue, 28 Nov 1995 16:52:49 +0000 (16:52 +0000)]
Tests for bug reported by Roger Peel" <R.Peel@ee.surrey.ac.uk>
Jim Meyering [Mon, 27 Nov 1995 14:25:39 +0000 (14:25 +0000)]
.
Jim Meyering [Mon, 27 Nov 1995 05:46:24 +0000 (05:46 +0000)]
(usage): Clarify description of --no-dereferences.
Jim Meyering [Mon, 27 Nov 1995 05:34:31 +0000 (05:34 +0000)]
s/non-zero/nonzero/g
Jim Meyering [Mon, 27 Nov 1995 05:29:44 +0000 (05:29 +0000)]
.
Jim Meyering [Mon, 27 Nov 1995 03:11:36 +0000 (03:11 +0000)]
.
Jim Meyering [Mon, 27 Nov 1995 03:09:18 +0000 (03:09 +0000)]
s/non-zero/nonzero/g
Jim Meyering [Sun, 26 Nov 1995 22:09:43 +0000 (22:09 +0000)]
Clarify usage. From Karl Berry.
Jim Meyering [Sun, 26 Nov 1995 21:51:42 +0000 (21:51 +0000)]
.
Jim Meyering [Sun, 26 Nov 1995 21:49:53 +0000 (21:49 +0000)]
[!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.
Jim Meyering [Fri, 24 Nov 1995 05:29:28 +0000 (05:29 +0000)]
.
Jim Meyering [Thu, 23 Nov 1995 05:17:50 +0000 (05:17 +0000)]
.
Jim Meyering [Sat, 18 Nov 1995 20:19:17 +0000 (20:19 +0000)]
.
Jim Meyering [Sat, 18 Nov 1995 18:17:42 +0000 (18:17 +0000)]
.
Jim Meyering [Sat, 18 Nov 1995 06:36:47 +0000 (06:36 +0000)]
Remove autodep junk.
Jim Meyering [Sat, 18 Nov 1995 06:17:07 +0000 (06:17 +0000)]
Indent cpp directives.
Jim Meyering [Fri, 17 Nov 1995 03:41:20 +0000 (03:41 +0000)]
.
Jim Meyering [Fri, 17 Nov 1995 03:29:26 +0000 (03:29 +0000)]
.
Jim Meyering [Thu, 16 Nov 1995 07:39:44 +0000 (07:39 +0000)]
Remove obsolete FIXME.
Jim Meyering [Thu, 16 Nov 1995 07:32:45 +0000 (07:32 +0000)]
.
Jim Meyering [Thu, 16 Nov 1995 06:18:17 +0000 (06:18 +0000)]
Fix up description of md5sum --check.
Jim Meyering [Wed, 15 Nov 1995 23:41:08 +0000 (23:41 +0000)]
.
Jim Meyering [Wed, 15 Nov 1995 22:16:30 +0000 (22:16 +0000)]
(*format_address): Tweak dcl.
Jim Meyering [Wed, 15 Nov 1995 22:12:59 +0000 (22:12 +0000)]
[__P]: Don't define it here.
Jim Meyering [Wed, 15 Nov 1995 21:59:55 +0000 (21:59 +0000)]
Use __P.
Jim Meyering [Wed, 15 Nov 1995 21:59:20 +0000 (21:59 +0000)]
.
Jim Meyering [Wed, 15 Nov 1995 21:58:58 +0000 (21:58 +0000)]
.
Jim Meyering [Wed, 15 Nov 1995 21:48:06 +0000 (21:48 +0000)]
.
Jim Meyering [Wed, 15 Nov 1995 21:47:44 +0000 (21:47 +0000)]
(sort, -g): Document it.
(join, new `0' format): Likewise.
Jim Meyering [Wed, 15 Nov 1995 21:42:47 +0000 (21:42 +0000)]
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>.
Jim Meyering [Wed, 15 Nov 1995 15:45:28 +0000 (15:45 +0000)]
Break long lines.
Jim Meyering [Wed, 15 Nov 1995 15:04:51 +0000 (15:04 +0000)]
Indent.
Jim Meyering [Wed, 15 Nov 1995 05:40:11 +0000 (05:40 +0000)]
.
Jim Meyering [Wed, 15 Nov 1995 05:39:58 +0000 (05:39 +0000)]
(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'.
Jim Meyering [Wed, 15 Nov 1995 05:32:28 +0000 (05:32 +0000)]
(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.
Jim Meyering [Sat, 11 Nov 1995 22:09:47 +0000 (22:09 +0000)]
.
Jim Meyering [Sat, 11 Nov 1995 22:08:16 +0000 (22:08 +0000)]
(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.
Jim Meyering [Sat, 11 Nov 1995 21:46:41 +0000 (21:46 +0000)]
.
Jim Meyering [Sat, 11 Nov 1995 21:46:32 +0000 (21:46 +0000)]
(xmalloc): Declare static.
(xrealloc): Likewise.
Jim Meyering [Sat, 11 Nov 1995 14:36:06 +0000 (14:36 +0000)]
.
Jim Meyering [Sat, 11 Nov 1995 14:35:27 +0000 (14:35 +0000)]
(cleanup): Add signal number parameter.
Update callers.
Jim Meyering [Sat, 11 Nov 1995 14:22:33 +0000 (14:22 +0000)]
.
Jim Meyering [Sat, 11 Nov 1995 14:21:24 +0000 (14:21 +0000)]
.
Jim Meyering [Sat, 11 Nov 1995 14:21:15 +0000 (14:21 +0000)]
(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>.
Jim Meyering [Sat, 11 Nov 1995 03:28:38 +0000 (03:28 +0000)]
Add __P in dcl of format_address function.
Jim Meyering [Sat, 11 Nov 1995 03:27:15 +0000 (03:27 +0000)]
(usage): Clarify meaning of --spaces.
Jim Meyering [Fri, 10 Nov 1995 15:20:00 +0000 (15:20 +0000)]
Don't include error.h here.
Jim Meyering [Fri, 10 Nov 1995 15:15:38 +0000 (15:15 +0000)]
.
Jim Meyering [Fri, 10 Nov 1995 14:56:21 +0000 (14:56 +0000)]
Protect prototyped forward dcls with __P.
Jim Meyering [Fri, 10 Nov 1995 14:54:08 +0000 (14:54 +0000)]
(parse_ls_color): Use strcpy to initialize 3-character array.
Automatic aggregate initialization isn't portable.
Jim Meyering [Fri, 10 Nov 1995 14:48:57 +0000 (14:48 +0000)]
Remove fwd dcls.
Jim Meyering [Fri, 10 Nov 1995 14:48:03 +0000 (14:48 +0000)]
Don't protoize dcl of basename.
Jim Meyering [Fri, 10 Nov 1995 14:47:09 +0000 (14:47 +0000)]
Don't protoize dcl of basename.
Jim Meyering [Fri, 10 Nov 1995 14:45:31 +0000 (14:45 +0000)]
Don't protoize dcls of getpwnam and getgrnam.
Jim Meyering [Fri, 10 Nov 1995 14:44:37 +0000 (14:44 +0000)]
Remove bogus __P junk on xstat dcl.
Jim Meyering [Fri, 10 Nov 1995 14:43:31 +0000 (14:43 +0000)]
Don't protoize fwd dcl of dirname.
Jim Meyering [Fri, 10 Nov 1995 14:42:39 +0000 (14:42 +0000)]
.
Jim Meyering [Fri, 10 Nov 1995 14:42:08 +0000 (14:42 +0000)]
Protoize and add const attribute to parameters.
Jim Meyering [Fri, 10 Nov 1995 14:41:20 +0000 (14:41 +0000)]
Include error.h.
Jim Meyering [Fri, 10 Nov 1995 14:22:07 +0000 (14:22 +0000)]
Remove prototypes for stat, lstat.
Jim Meyering [Fri, 10 Nov 1995 12:56:15 +0000 (12:56 +0000)]
[__P]: Define it.
Jim Meyering [Fri, 10 Nov 1995 05:28:05 +0000 (05:28 +0000)]
.
Jim Meyering [Fri, 10 Nov 1995 05:27:29 +0000 (05:27 +0000)]
.
Jim Meyering [Fri, 10 Nov 1995 03:16:16 +0000 (03:16 +0000)]
(main): Move to the end.
Remove fwd dcls.
Jim Meyering [Fri, 10 Nov 1995 03:14:41 +0000 (03:14 +0000)]
(main): Move to the end.
Remove fwd dcls.
Jim Meyering [Thu, 9 Nov 1995 23:52:40 +0000 (23:52 +0000)]
Rearrange functions to obviate forward dcls.
Remove forward dcls.
Jim Meyering [Thu, 9 Nov 1995 23:49:53 +0000 (23:49 +0000)]
(main): Move to the end.
Remove fwd dcls.
Jim Meyering [Thu, 9 Nov 1995 23:49:02 +0000 (23:49 +0000)]
(main): Move to the end.
Remove fwd dcls.
Jim Meyering [Thu, 9 Nov 1995 23:47:52 +0000 (23:47 +0000)]
Protect prototypes with __P.
Jim Meyering [Thu, 9 Nov 1995 23:41:10 +0000 (23:41 +0000)]
Protect prototypes with __P.
Jim Meyering [Thu, 9 Nov 1995 23:31:16 +0000 (23:31 +0000)]
(main): Move to the end.
Remove most fwd dcls.
Jim Meyering [Thu, 9 Nov 1995 23:27:55 +0000 (23:27 +0000)]
(main): Move to the end.
Remove most fwd dcls.
Jim Meyering [Thu, 9 Nov 1995 23:27:32 +0000 (23:27 +0000)]
indent.
Jim Meyering [Thu, 9 Nov 1995 23:26:17 +0000 (23:26 +0000)]
(main): Move to the end.
Remove most fwd dcls.
Jim Meyering [Thu, 9 Nov 1995 23:16:13 +0000 (23:16 +0000)]
Move main to the end.
Remove fwd dcls.
Jim Meyering [Thu, 9 Nov 1995 23:02:27 +0000 (23:02 +0000)]
(translate_charset): Make parameter `const'.
Jim Meyering [Thu, 9 Nov 1995 23:00:32 +0000 (23:00 +0000)]
(struct pathstack): Move dcl to precede prototypes.
Jim Meyering [Thu, 9 Nov 1995 23:00:14 +0000 (23:00 +0000)]
(enum filetype): Move dcl to precede prototypes.
(struct fileinfo): Likewise.
Add const attribute to some parameters.
Jim Meyering [Thu, 9 Nov 1995 17:02:23 +0000 (17:02 +0000)]
Protoize.
Jim Meyering [Wed, 8 Nov 1995 05:55:55 +0000 (05:55 +0000)]
.
Jim Meyering [Wed, 8 Nov 1995 05:54:16 +0000 (05:54 +0000)]
.
Jim Meyering [Wed, 8 Nov 1995 05:54:07 +0000 (05:54 +0000)]
(usage): Clarify descriptions of ignpar and ignbrk.
From Theodore Ts'o and Ulrich Windl.
Jim Meyering [Wed, 8 Nov 1995 05:51:11 +0000 (05:51 +0000)]
Remove trailing white space.
Jim Meyering [Wed, 8 Nov 1995 05:50:51 +0000 (05:50 +0000)]
Clarify descriptions of ignpar and ignbrk.
From Theodore Ts'o and Ulrich Windl.
Jim Meyering [Tue, 7 Nov 1995 04:56:08 +0000 (04:56 +0000)]
New option: --verbose.
(main): Recognize it.
(usage): Document it.
From Marty Leisner <leisner@sdsp.mc.xerox.com>.
Jim Meyering [Tue, 7 Nov 1995 04:55:16 +0000 (04:55 +0000)]
.
Jim Meyering [Mon, 6 Nov 1995 17:06:24 +0000 (17:06 +0000)]
From FSF.
Jim Meyering [Mon, 6 Nov 1995 16:24:07 +0000 (16:24 +0000)]
.
Jim Meyering [Mon, 6 Nov 1995 14:01:46 +0000 (14:01 +0000)]
(usage): Remove last sentence. It is redundant.
Jim Meyering [Mon, 6 Nov 1995 05:06:25 +0000 (05:06 +0000)]
[__P]: Define. Use it in prototyped forward decls.
Jim Meyering [Mon, 6 Nov 1995 05:01:16 +0000 (05:01 +0000)]
(store_columns): Remove spurious 2nd argument in call to read_line.
Jim Meyering [Mon, 6 Nov 1995 04:58:56 +0000 (04:58 +0000)]
Protoize.
Jim Meyering [Sun, 5 Nov 1995 16:58:15 +0000 (16:58 +0000)]
(join): Protoize. Somehow, protoize missed this one.
Jim Meyering [Sun, 5 Nov 1995 13:16:57 +0000 (13:16 +0000)]
.
Jim Meyering [Sun, 5 Nov 1995 13:16:24 +0000 (13:16 +0000)]
Protect prototypes with __P.
Jim Meyering [Sun, 5 Nov 1995 13:12:54 +0000 (13:12 +0000)]
Move prototypes after struct declarations.
Remove prototypes for xmalloc, xrealloc.
(new_control_record): Cast arg 1 to realloc.
Jim Meyering [Sun, 5 Nov 1995 13:02:44 +0000 (13:02 +0000)]
Protoize.
Jim Meyering [Sun, 5 Nov 1995 12:59:52 +0000 (12:59 +0000)]
[__P]: Test PROTOTYPES, not __STDC__.
Protoize.