platform/upstream/coreutils.git
28 years ago.
Jim Meyering [Thu, 30 Nov 1995 04:28:27 +0000 (04:28 +0000)]
.

28 years ago.
Jim Meyering [Thu, 30 Nov 1995 03:51:59 +0000 (03:51 +0000)]
.

28 years ago(limfield): Remove field_start junk.
Jim Meyering [Wed, 29 Nov 1995 22:51:04 +0000 (22:51 +0000)]
(limfield): Remove field_start junk.
Don't try to trim trailing blanks here -- it's not possible
because we don't know where the field begins.
Properly distinguish between cases where TAB character is specified
and when the default is used.
(trim_trailing_blanks): New function.
(findlines): Call it.
(keycompare): Likewise.

28 years ago[_]: Define it.
Jim Meyering [Wed, 29 Nov 1995 19:47:42 +0000 (19:47 +0000)]
[_]: Define it.

28 years agoMark all translatable strings using po-mode.el.
Jim Meyering [Wed, 29 Nov 1995 19:24:52 +0000 (19:24 +0000)]
Mark all translatable strings using po-mode.el.

28 years agoMark all translatable strings using po-mode.el.
Jim Meyering [Wed, 29 Nov 1995 19:23:30 +0000 (19:23 +0000)]
Mark all translatable strings using po-mode.el.

28 years ago(begfield): Replace unnecessary loop with if-else.
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.

28 years agoTests for bug reported by Roger Peel" <R.Peel@ee.surrey.ac.uk>
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>

28 years ago.
Jim Meyering [Mon, 27 Nov 1995 14:25:39 +0000 (14:25 +0000)]
.

28 years ago(usage): Clarify description of --no-dereferences.
Jim Meyering [Mon, 27 Nov 1995 05:46:24 +0000 (05:46 +0000)]
(usage): Clarify description of --no-dereferences.

28 years agos/non-zero/nonzero/g
Jim Meyering [Mon, 27 Nov 1995 05:34:31 +0000 (05:34 +0000)]
s/non-zero/nonzero/g

28 years ago.
Jim Meyering [Mon, 27 Nov 1995 05:29:44 +0000 (05:29 +0000)]
.

28 years ago.
Jim Meyering [Mon, 27 Nov 1995 03:11:36 +0000 (03:11 +0000)]
.

28 years agos/non-zero/nonzero/g
Jim Meyering [Mon, 27 Nov 1995 03:09:18 +0000 (03:09 +0000)]
s/non-zero/nonzero/g

28 years agoClarify usage. From Karl Berry.
Jim Meyering [Sun, 26 Nov 1995 22:09:43 +0000 (22:09 +0000)]
Clarify usage.  From Karl Berry.

28 years ago.
Jim Meyering [Sun, 26 Nov 1995 21:51:42 +0000 (21:51 +0000)]
.

28 years ago[!UINT_MAX]: Define.
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.

28 years ago.
Jim Meyering [Fri, 24 Nov 1995 05:29:28 +0000 (05:29 +0000)]
.

28 years ago.
Jim Meyering [Thu, 23 Nov 1995 05:17:50 +0000 (05:17 +0000)]
.

28 years ago.
Jim Meyering [Sat, 18 Nov 1995 20:19:17 +0000 (20:19 +0000)]
.

28 years ago.
Jim Meyering [Sat, 18 Nov 1995 18:17:42 +0000 (18:17 +0000)]
.

28 years agoRemove autodep junk.
Jim Meyering [Sat, 18 Nov 1995 06:36:47 +0000 (06:36 +0000)]
Remove autodep junk.

28 years agoIndent cpp directives.
Jim Meyering [Sat, 18 Nov 1995 06:17:07 +0000 (06:17 +0000)]
Indent cpp directives.

28 years ago.
Jim Meyering [Fri, 17 Nov 1995 03:41:20 +0000 (03:41 +0000)]
.

28 years ago.
Jim Meyering [Fri, 17 Nov 1995 03:29:26 +0000 (03:29 +0000)]
.

28 years agoRemove obsolete FIXME.
Jim Meyering [Thu, 16 Nov 1995 07:39:44 +0000 (07:39 +0000)]
Remove obsolete FIXME.

28 years ago.
Jim Meyering [Thu, 16 Nov 1995 07:32:45 +0000 (07:32 +0000)]
.

28 years agoFix up description of md5sum --check.
Jim Meyering [Thu, 16 Nov 1995 06:18:17 +0000 (06:18 +0000)]
Fix up description of md5sum --check.

28 years ago.
Jim Meyering [Wed, 15 Nov 1995 23:41:08 +0000 (23:41 +0000)]
.

28 years ago(*format_address): Tweak dcl.
Jim Meyering [Wed, 15 Nov 1995 22:16:30 +0000 (22:16 +0000)]
(*format_address): Tweak dcl.

28 years ago[__P]: Don't define it here.
Jim Meyering [Wed, 15 Nov 1995 22:12:59 +0000 (22:12 +0000)]
[__P]: Don't define it here.

28 years agoUse __P.
Jim Meyering [Wed, 15 Nov 1995 21:59:55 +0000 (21:59 +0000)]
Use __P.

28 years ago.
Jim Meyering [Wed, 15 Nov 1995 21:59:20 +0000 (21:59 +0000)]
.

28 years ago.
Jim Meyering [Wed, 15 Nov 1995 21:58:58 +0000 (21:58 +0000)]
.

28 years ago.
Jim Meyering [Wed, 15 Nov 1995 21:48:06 +0000 (21:48 +0000)]
.

28 years ago(sort, -g): Document it.
Jim Meyering [Wed, 15 Nov 1995 21:47:44 +0000 (21:47 +0000)]
(sort, -g): Document it.
(join, new `0' format): Likewise.

28 years agoAdd support for sorting numbers in scientific notation.
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>.

28 years agoBreak long lines.
Jim Meyering [Wed, 15 Nov 1995 15:45:28 +0000 (15:45 +0000)]
Break long lines.

28 years agoIndent.
Jim Meyering [Wed, 15 Nov 1995 15:04:51 +0000 (15:04 +0000)]
Indent.

28 years ago.
Jim Meyering [Wed, 15 Nov 1995 05:40:11 +0000 (05:40 +0000)]
.

28 years ago(cleanup): Don't exit.
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'.

28 years ago(cleanup): Don't exit.
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.

28 years ago.
Jim Meyering [Sat, 11 Nov 1995 22:09:47 +0000 (22:09 +0000)]
.

28 years ago(skip): Cast fseek's offset argument to `long'.
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.

28 years ago.
Jim Meyering [Sat, 11 Nov 1995 21:46:41 +0000 (21:46 +0000)]
.

28 years ago(xmalloc): Declare static.
Jim Meyering [Sat, 11 Nov 1995 21:46:32 +0000 (21:46 +0000)]
(xmalloc): Declare static.
(xrealloc): Likewise.

28 years ago.
Jim Meyering [Sat, 11 Nov 1995 14:36:06 +0000 (14:36 +0000)]
.

28 years ago(cleanup): Add signal number parameter.
Jim Meyering [Sat, 11 Nov 1995 14:35:27 +0000 (14:35 +0000)]
(cleanup): Add signal number parameter.
Update callers.

28 years ago.
Jim Meyering [Sat, 11 Nov 1995 14:22:33 +0000 (14:22 +0000)]
.

28 years ago.
Jim Meyering [Sat, 11 Nov 1995 14:21:24 +0000 (14:21 +0000)]
.

28 years ago(main): Don't die when dev/ino of input and output are
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>.

28 years agoAdd __P in dcl of format_address function.
Jim Meyering [Sat, 11 Nov 1995 03:28:38 +0000 (03:28 +0000)]
Add __P in dcl of format_address function.

28 years ago(usage): Clarify meaning of --spaces.
Jim Meyering [Sat, 11 Nov 1995 03:27:15 +0000 (03:27 +0000)]
(usage): Clarify meaning of --spaces.

28 years agoDon't include error.h here.
Jim Meyering [Fri, 10 Nov 1995 15:20:00 +0000 (15:20 +0000)]
Don't include error.h here.

28 years ago.
Jim Meyering [Fri, 10 Nov 1995 15:15:38 +0000 (15:15 +0000)]
.

28 years agoProtect prototyped forward dcls with __P.
Jim Meyering [Fri, 10 Nov 1995 14:56:21 +0000 (14:56 +0000)]
Protect prototyped forward dcls with __P.

28 years ago(parse_ls_color): Use strcpy to initialize 3-character array.
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.

28 years agoRemove fwd dcls.
Jim Meyering [Fri, 10 Nov 1995 14:48:57 +0000 (14:48 +0000)]
Remove fwd dcls.

28 years agoDon't protoize dcl of basename.
Jim Meyering [Fri, 10 Nov 1995 14:48:03 +0000 (14:48 +0000)]
Don't protoize dcl of basename.

28 years agoDon't protoize dcl of basename.
Jim Meyering [Fri, 10 Nov 1995 14:47:09 +0000 (14:47 +0000)]
Don't protoize dcl of basename.

28 years agoDon't protoize dcls of getpwnam and getgrnam.
Jim Meyering [Fri, 10 Nov 1995 14:45:31 +0000 (14:45 +0000)]
Don't protoize dcls of getpwnam and getgrnam.

28 years agoRemove bogus __P junk on xstat dcl.
Jim Meyering [Fri, 10 Nov 1995 14:44:37 +0000 (14:44 +0000)]
Remove bogus __P junk on xstat dcl.

28 years agoDon't protoize fwd dcl of dirname.
Jim Meyering [Fri, 10 Nov 1995 14:43:31 +0000 (14:43 +0000)]
Don't protoize fwd dcl of dirname.

28 years ago.
Jim Meyering [Fri, 10 Nov 1995 14:42:39 +0000 (14:42 +0000)]
.

28 years agoProtoize and add const attribute to parameters.
Jim Meyering [Fri, 10 Nov 1995 14:42:08 +0000 (14:42 +0000)]
Protoize and add const attribute to parameters.

28 years agoInclude error.h.
Jim Meyering [Fri, 10 Nov 1995 14:41:20 +0000 (14:41 +0000)]
Include error.h.

28 years agoRemove prototypes for stat, lstat.
Jim Meyering [Fri, 10 Nov 1995 14:22:07 +0000 (14:22 +0000)]
Remove prototypes for stat, lstat.

28 years ago[__P]: Define it.
Jim Meyering [Fri, 10 Nov 1995 12:56:15 +0000 (12:56 +0000)]
[__P]: Define it.

28 years ago.
Jim Meyering [Fri, 10 Nov 1995 05:28:05 +0000 (05:28 +0000)]
.

28 years ago.
Jim Meyering [Fri, 10 Nov 1995 05:27:29 +0000 (05:27 +0000)]
.

28 years ago(main): Move to the end.
Jim Meyering [Fri, 10 Nov 1995 03:16:16 +0000 (03:16 +0000)]
(main): Move to the end.
Remove fwd dcls.

28 years ago(main): Move to the end.
Jim Meyering [Fri, 10 Nov 1995 03:14:41 +0000 (03:14 +0000)]
(main): Move to the end.
Remove fwd dcls.

28 years agoRearrange functions to obviate forward dcls.
Jim Meyering [Thu, 9 Nov 1995 23:52:40 +0000 (23:52 +0000)]
Rearrange functions to obviate forward dcls.
Remove forward dcls.

28 years ago(main): Move to the end.
Jim Meyering [Thu, 9 Nov 1995 23:49:53 +0000 (23:49 +0000)]
(main): Move to the end.
Remove fwd dcls.

28 years ago(main): Move to the end.
Jim Meyering [Thu, 9 Nov 1995 23:49:02 +0000 (23:49 +0000)]
(main): Move to the end.
Remove fwd dcls.

28 years agoProtect prototypes with __P.
Jim Meyering [Thu, 9 Nov 1995 23:47:52 +0000 (23:47 +0000)]
Protect prototypes with __P.

28 years agoProtect prototypes with __P.
Jim Meyering [Thu, 9 Nov 1995 23:41:10 +0000 (23:41 +0000)]
Protect prototypes with __P.

28 years ago(main): Move to the end.
Jim Meyering [Thu, 9 Nov 1995 23:31:16 +0000 (23:31 +0000)]
(main): Move to the end.
Remove most fwd dcls.

28 years ago(main): Move to the end.
Jim Meyering [Thu, 9 Nov 1995 23:27:55 +0000 (23:27 +0000)]
(main): Move to the end.
Remove most fwd dcls.

28 years agoindent.
Jim Meyering [Thu, 9 Nov 1995 23:27:32 +0000 (23:27 +0000)]
indent.

28 years ago(main): Move to the end.
Jim Meyering [Thu, 9 Nov 1995 23:26:17 +0000 (23:26 +0000)]
(main): Move to the end.
Remove most fwd dcls.

28 years agoMove main to the end.
Jim Meyering [Thu, 9 Nov 1995 23:16:13 +0000 (23:16 +0000)]
Move main to the end.
Remove fwd dcls.

28 years ago(translate_charset): Make parameter `const'.
Jim Meyering [Thu, 9 Nov 1995 23:02:27 +0000 (23:02 +0000)]
(translate_charset): Make parameter `const'.

28 years ago(struct pathstack): Move dcl to precede prototypes.
Jim Meyering [Thu, 9 Nov 1995 23:00:32 +0000 (23:00 +0000)]
(struct pathstack): Move dcl to precede prototypes.

28 years ago(enum filetype): 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.

28 years agoProtoize.
Jim Meyering [Thu, 9 Nov 1995 17:02:23 +0000 (17:02 +0000)]
Protoize.

29 years ago.
Jim Meyering [Wed, 8 Nov 1995 05:55:55 +0000 (05:55 +0000)]
.

29 years ago.
Jim Meyering [Wed, 8 Nov 1995 05:54:16 +0000 (05:54 +0000)]
.

29 years ago(usage): Clarify descriptions of ignpar and ignbrk.
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.

29 years agoRemove trailing white space.
Jim Meyering [Wed, 8 Nov 1995 05:51:11 +0000 (05:51 +0000)]
Remove trailing white space.

29 years agoClarify descriptions of ignpar and ignbrk.
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.

29 years agoNew option: --verbose.
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>.

29 years ago.
Jim Meyering [Tue, 7 Nov 1995 04:55:16 +0000 (04:55 +0000)]
.

29 years agoFrom FSF.
Jim Meyering [Mon, 6 Nov 1995 17:06:24 +0000 (17:06 +0000)]
From FSF.

29 years ago.
Jim Meyering [Mon, 6 Nov 1995 16:24:07 +0000 (16:24 +0000)]
.

29 years ago(usage): Remove last sentence. It is redundant.
Jim Meyering [Mon, 6 Nov 1995 14:01:46 +0000 (14:01 +0000)]
(usage): Remove last sentence.  It is redundant.

29 years ago[__P]: Define. Use it in prototyped forward decls.
Jim Meyering [Mon, 6 Nov 1995 05:06:25 +0000 (05:06 +0000)]
[__P]: Define.  Use it in prototyped forward decls.

29 years ago(store_columns): Remove spurious 2nd argument in call to read_line.
Jim Meyering [Mon, 6 Nov 1995 05:01:16 +0000 (05:01 +0000)]
(store_columns): Remove spurious 2nd argument in call to read_line.

29 years agoProtoize.
Jim Meyering [Mon, 6 Nov 1995 04:58:56 +0000 (04:58 +0000)]
Protoize.

29 years ago(join): Protoize. Somehow, protoize missed this one.
Jim Meyering [Sun, 5 Nov 1995 16:58:15 +0000 (16:58 +0000)]
(join): Protoize.  Somehow, protoize missed this one.