platform/upstream/coreutils.git
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.

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

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

28 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.

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

28 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.

28 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>.

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

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

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

28 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.

28 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.

28 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.

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

28 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.

28 years ago.
Jim Meyering [Sun, 5 Nov 1995 13:16:57 +0000 (13:16 +0000)]
.

28 years agoProtect prototypes with __P.
Jim Meyering [Sun, 5 Nov 1995 13:16:24 +0000 (13:16 +0000)]
Protect prototypes with __P.

28 years agoMove prototypes after struct declarations.
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.

28 years agoProtoize.
Jim Meyering [Sun, 5 Nov 1995 13:02:44 +0000 (13:02 +0000)]
Protoize.

28 years ago[__P]: Test PROTOTYPES, not __STDC__.
Jim Meyering [Sun, 5 Nov 1995 12:59:52 +0000 (12:59 +0000)]
[__P]: Test PROTOTYPES, not __STDC__.
Protoize.

28 years ago(close_output_file): Set output_stream to NULL so we don't recurse
Jim Meyering [Sun, 5 Nov 1995 05:51:53 +0000 (05:51 +0000)]
(close_output_file): Set output_stream to NULL so we don't recurse
endlessly between this function and cleanup.

28 years ago(unquote): Add casts to avoid signed char* from/to char* warnings.
Jim Meyering [Sun, 5 Nov 1995 05:48:57 +0000 (05:48 +0000)]
(unquote): Add casts to avoid signed char* from/to char* warnings.

28 years ago. FILEUTILS-3_12f
Jim Meyering [Fri, 3 Nov 1995 20:03:44 +0000 (20:03 +0000)]
.

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

28 years agoNew version from glibc.
Jim Meyering [Fri, 3 Nov 1995 20:02:00 +0000 (20:02 +0000)]
New version from glibc.

28 years ago(remove_file, remove_dir): Use euidaccess instead of euidaccess_stat.Likewise.
Jim Meyering [Fri, 3 Nov 1995 20:01:13 +0000 (20:01 +0000)]
(remove_file, remove_dir): Use euidaccess instead of euidaccess_stat.Likewise.

28 years ago(do_move): Use euidaccess instead of euidaccess_stat.Likewise.
Jim Meyering [Fri, 3 Nov 1995 20:00:24 +0000 (20:00 +0000)]
(do_move): Use euidaccess instead of euidaccess_stat.Likewise.

28 years ago(copy): Use euidaccess instead of euidaccess_stat.
Jim Meyering [Fri, 3 Nov 1995 19:59:44 +0000 (19:59 +0000)]
(copy): Use euidaccess instead of euidaccess_stat.

28 years agoNew version from glibc.
Jim Meyering [Fri, 3 Nov 1995 19:56:08 +0000 (19:56 +0000)]
New version from glibc.

28 years agoAdd `const' attribute to some parameters.
Jim Meyering [Thu, 2 Nov 1995 17:11:51 +0000 (17:11 +0000)]
Add `const' attribute to some parameters.

28 years ago.
Jim Meyering [Thu, 2 Nov 1995 17:11:17 +0000 (17:11 +0000)]
.

28 years ago.
Jim Meyering [Thu, 2 Nov 1995 17:11:04 +0000 (17:11 +0000)]
.

28 years agoProtoize.
Jim Meyering [Thu, 2 Nov 1995 17:08:24 +0000 (17:08 +0000)]
Protoize.

28 years agoReorder functions to obviate forward dcls.
Jim Meyering [Thu, 2 Nov 1995 17:06:52 +0000 (17:06 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years ago(isdigits, convint): Remove these.
Jim Meyering [Tue, 31 Oct 1995 12:52:29 +0000 (12:52 +0000)]
(isdigits, convint): Remove these.
(main): Use xstrtol instead.

28 years ago.
Jim Meyering [Tue, 31 Oct 1995 12:52:14 +0000 (12:52 +0000)]
.

28 years agoAdd `const' attribute to some parameters.
Jim Meyering [Tue, 31 Oct 1995 12:39:18 +0000 (12:39 +0000)]
Add `const' attribute to some parameters.

28 years agoprotoize.
Jim Meyering [Tue, 31 Oct 1995 12:36:43 +0000 (12:36 +0000)]
protoize.

28 years agoReorder functions to obviate forward dcls.
Jim Meyering [Tue, 31 Oct 1995 12:34:48 +0000 (12:34 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years ago(usage, next_line_num, main): Protoize.
Jim Meyering [Tue, 31 Oct 1995 02:22:23 +0000 (02:22 +0000)]
(usage, next_line_num, main): Protoize.

28 years agoAdd `const' attribute to some parameters.
Jim Meyering [Tue, 31 Oct 1995 02:21:37 +0000 (02:21 +0000)]
Add `const' attribute to some parameters.