platform/upstream/coreutils.git
28 years agoProtoize and __P-protect forward dcls.
Jim Meyering [Sat, 6 Jan 1996 11:44:05 +0000 (11:44 +0000)]
Protoize and __P-protect forward dcls.

28 years agoDefine WHO and include new file, who-users.c.
Jim Meyering [Sat, 6 Jan 1996 11:17:50 +0000 (11:17 +0000)]
Define WHO and include new file, who-users.c.

28 years ago.
Jim Meyering [Sat, 6 Jan 1996 11:16:08 +0000 (11:16 +0000)]
.

28 years agorename from who.c
Jim Meyering [Sat, 6 Jan 1996 11:13:11 +0000 (11:13 +0000)]
rename from who.c

28 years agoRemove NGROUPS_MAX junk. It wasn't being used.
Jim Meyering [Sat, 6 Jan 1996 06:10:08 +0000 (06:10 +0000)]
Remove NGROUPS_MAX junk.  It wasn't being used.

28 years ago(putenv): Declare.
Jim Meyering [Sat, 6 Jan 1996 06:07:23 +0000 (06:07 +0000)]
(putenv): Declare.
(universal_time): Remove.
(main): If -u is given, set TZ to "UTC0"; this causes date to use
UTC uniformly and fixes bugs in the handling of date -u +'%s %Z'.
(show_date): Just use localtime and a single format, since TZ will
be set properly if -u is given.  From Paul Eggert.

28 years agoRemove no-longer-used NGROUPS_MAX cpp macros.
Jim Meyering [Sat, 6 Jan 1996 06:04:09 +0000 (06:04 +0000)]
Remove no-longer-used NGROUPS_MAX cpp macros.
(print_group_list) [HAVE_GETGROUPS]: Reorganize to use getgroups (0, NULL)
to compute number of groups at run time rather than relying on NGROUPS_MAX
at compile time.
(print_full_info) [HAVE_GETGROUPS]: Likewise.
Suggestion from Roland McGrath.

28 years ago.
Jim Meyering [Sat, 6 Jan 1996 05:28:49 +0000 (05:28 +0000)]
.

28 years ago.
Jim Meyering [Sat, 6 Jan 1996 00:30:45 +0000 (00:30 +0000)]
.

28 years ago. TEXTUTILS-1_13k
Jim Meyering [Fri, 5 Jan 1996 04:56:53 +0000 (04:56 +0000)]
.

28 years ago.
Jim Meyering [Fri, 5 Jan 1996 02:46:41 +0000 (02:46 +0000)]
.

28 years agoInclude rx.h after limit.h to avoid warning about
Jim Meyering [Fri, 5 Jan 1996 02:44:42 +0000 (02:44 +0000)]
Include rx.h after limit.h to avoid warning about
redeclaration of RE_DUP_MAX in limit.h.  rx.h protects its
definition.  From Kaveh Ghazi.

28 years ago.
Jim Meyering [Fri, 5 Jan 1996 02:37:28 +0000 (02:37 +0000)]
.

28 years ago[SYNTAX]: Rename from SYNTAX_TABLE.
Jim Meyering [Fri, 5 Jan 1996 02:35:39 +0000 (02:35 +0000)]
[SYNTAX]: Rename from SYNTAX_TABLE.
[SYNTAX_TABLE]: Remove extern dcl or re_syntax_table.
(RE_SEARCH_2_FN): Cast string1 and string2 to avoid pointer type
mismatch errors from e.g. SunOS's /bin/cc.
Reported by Kaveh Ghazi.

28 years ago.
Jim Meyering [Thu, 4 Jan 1996 12:48:25 +0000 (12:48 +0000)]
.

28 years ago. TEXTUTILS-1_13j
Jim Meyering [Thu, 4 Jan 1996 05:35:34 +0000 (05:35 +0000)]
.

28 years ago(usage): Tweak wording in --help output.
Jim Meyering [Thu, 4 Jan 1996 05:31:58 +0000 (05:31 +0000)]
(usage): Tweak wording in --help output.

28 years agoUse `$year', not `year' as expr arg.
Jim Meyering [Thu, 4 Jan 1996 05:29:09 +0000 (05:29 +0000)]
Use `$year', not `year' as expr arg.

28 years agoupdate from gettext
Jim Meyering [Thu, 4 Jan 1996 05:24:48 +0000 (05:24 +0000)]
update from gettext

28 years ago.
Jim Meyering [Wed, 3 Jan 1996 18:20:16 +0000 (18:20 +0000)]
.

28 years ago.
Jim Meyering [Wed, 3 Jan 1996 06:04:46 +0000 (06:04 +0000)]
.

28 years agoFix comments.
Jim Meyering [Wed, 3 Jan 1996 05:55:26 +0000 (05:55 +0000)]
Fix comments.

28 years ago.
Jim Meyering [Wed, 3 Jan 1996 05:51:15 +0000 (05:51 +0000)]
.

28 years ago.
Jim Meyering [Wed, 3 Jan 1996 05:49:22 +0000 (05:49 +0000)]
.

28 years ago.
Jim Meyering [Tue, 2 Jan 1996 06:10:49 +0000 (06:10 +0000)]
.

28 years ago(keycompare): Rewrite cases handling -i and -if to fix bug whereby
Jim Meyering [Tue, 2 Jan 1996 06:10:39 +0000 (06:10 +0000)]
(keycompare): Rewrite cases handling -i and -if to fix bug whereby
non-ascii characters (supposed to be ignored with -i) were treated
as significant.  Reported by Carl Johnson <carlj@cjlinux.home.org>.

28 years ago14b: Just like 14a, but add -f.
Jim Meyering [Tue, 2 Jan 1996 00:15:46 +0000 (00:15 +0000)]
14b: Just like 14a, but add -f.

28 years agoCorrect 14a per manual.
Jim Meyering [Mon, 1 Jan 1996 23:55:02 +0000 (23:55 +0000)]
Correct 14a per manual.

28 years ago.
Jim Meyering [Mon, 1 Jan 1996 22:33:52 +0000 (22:33 +0000)]
.

28 years ago.
Jim Meyering [Sun, 31 Dec 1995 06:46:46 +0000 (06:46 +0000)]
.

28 years ago.
Jim Meyering [Sun, 31 Dec 1995 04:12:10 +0000 (04:12 +0000)]
.

28 years ago(extract_regexp) [!WITH_REGEX]: Initialize re_compiled.syntax_parens.
Jim Meyering [Sun, 31 Dec 1995 04:10:13 +0000 (04:10 +0000)]
(extract_regexp) [!WITH_REGEX]: Initialize re_compiled.syntax_parens.
From Andreas Schwab.

28 years ago.
Jim Meyering [Tue, 26 Dec 1995 05:50:19 +0000 (05:50 +0000)]
.

28 years ago.
Jim Meyering [Sat, 23 Dec 1995 18:19:26 +0000 (18:19 +0000)]
.

28 years ago.
Jim Meyering [Sat, 23 Dec 1995 17:39:21 +0000 (17:39 +0000)]
.

28 years ago(decode_switches): Make -o a synonym for -lG for compatibility
Jim Meyering [Sat, 23 Dec 1995 17:38:08 +0000 (17:38 +0000)]
(decode_switches): Make -o a synonym for -lG for compatibility
with most other versions of ls.  Reported by Karl Berry.
(usage): Update.

28 years ago. TEXTUTILS-1_13i
Jim Meyering [Sat, 23 Dec 1995 16:39:20 +0000 (16:39 +0000)]
.

28 years ago(usage): Align text in -n line.
Jim Meyering [Fri, 22 Dec 1995 15:30:31 +0000 (15:30 +0000)]
(usage): Align text in -n line.

28 years ago.
Jim Meyering [Fri, 22 Dec 1995 06:51:26 +0000 (06:51 +0000)]
.

28 years ago(cleanup): New function -- broken out from quit.
Jim Meyering [Fri, 22 Dec 1995 06:49:10 +0000 (06:49 +0000)]
(cleanup): New function -- broken out from quit.
(interrupt_handler): Rewrite to reset default signal handler,
call cleanup, then repost caught signal.

28 years ago.
Jim Meyering [Fri, 22 Dec 1995 06:39:47 +0000 (06:39 +0000)]
.

28 years ago.
Jim Meyering [Fri, 22 Dec 1995 05:31:58 +0000 (05:31 +0000)]
.

28 years agoInclude argmatch.h.
Jim Meyering [Fri, 22 Dec 1995 05:31:17 +0000 (05:31 +0000)]
Include argmatch.h.

28 years ago(main): Accept new option, --sparse={never,auto,always},
Jim Meyering [Fri, 22 Dec 1995 05:30:48 +0000 (05:30 +0000)]
(main): Accept new option, --sparse={never,auto,always},
to control creation of sparse files.
(copy_reg): Set local, make_holes, from global flag_sparse.
Include argmatch.h.

28 years ago(argmatch): Add const attribute to parameters.
Jim Meyering [Fri, 22 Dec 1995 05:17:31 +0000 (05:17 +0000)]
(argmatch): Add const attribute to parameters.
(invalid_arg): Add const attribute to parameters.

28 years ago.
Jim Meyering [Fri, 22 Dec 1995 05:16:11 +0000 (05:16 +0000)]
.

28 years ago.
Jim Meyering [Fri, 22 Dec 1995 05:15:35 +0000 (05:15 +0000)]
.

28 years ago(HEADERS): Add argmatch.h.
Jim Meyering [Thu, 21 Dec 1995 23:06:40 +0000 (23:06 +0000)]
(HEADERS): Add argmatch.h.

28 years ago.
Jim Meyering [Thu, 21 Dec 1995 23:05:56 +0000 (23:05 +0000)]
.

28 years ago.
Jim Meyering [Wed, 20 Dec 1995 05:47:35 +0000 (05:47 +0000)]
.

28 years ago. FILEUTILS-3_12g
Jim Meyering [Tue, 19 Dec 1995 04:31:06 +0000 (04:31 +0000)]
.

28 years ago[SYMBOLIC_SPACE_STRING]: New macro.
Jim Meyering [Tue, 19 Dec 1995 04:30:32 +0000 (04:30 +0000)]
[SYMBOLIC_SPACE_STRING]: New macro.
(do_link): Use it instead of open-coded #ifdef.
For --verbose, say `create link DEST to SRC' instead of ambiguous
(or inconsistent with cp -v and mv -v) `SRC -> DEST.'

28 years ago.
Jim Meyering [Tue, 19 Dec 1995 04:25:24 +0000 (04:25 +0000)]
.

28 years ago. TEXTUTILS-1_13h
Jim Meyering [Tue, 19 Dec 1995 03:46:25 +0000 (03:46 +0000)]
.

28 years ago(noinst_LIBRARIES): Define this, not plain LIBRARIES.
Jim Meyering [Sun, 17 Dec 1995 22:28:45 +0000 (22:28 +0000)]
(noinst_LIBRARIES): Define this, not plain LIBRARIES.

28 years ago.
Jim Meyering [Fri, 15 Dec 1995 15:40:40 +0000 (15:40 +0000)]
.

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

28 years agonew version from FSF
Jim Meyering [Fri, 15 Dec 1995 15:36:02 +0000 (15:36 +0000)]
new version from FSF

28 years agonew version from FSF
Jim Meyering [Fri, 15 Dec 1995 15:35:15 +0000 (15:35 +0000)]
new version from FSF

28 years agoApply the usual REL_ALLOC patch.
Jim Meyering [Fri, 15 Dec 1995 15:34:07 +0000 (15:34 +0000)]
Apply the usual REL_ALLOC patch.

28 years agonew, from FSF
Jim Meyering [Fri, 15 Dec 1995 15:33:36 +0000 (15:33 +0000)]
new, from FSF

28 years agoRemove trailing white space.
Jim Meyering [Fri, 15 Dec 1995 15:31:09 +0000 (15:31 +0000)]
Remove trailing white space.

28 years agoInclude config.h.
Jim Meyering [Fri, 15 Dec 1995 15:18:43 +0000 (15:18 +0000)]
Include config.h.

28 years agoUpdate from latest.
Jim Meyering [Fri, 15 Dec 1995 15:12:58 +0000 (15:12 +0000)]
Update from latest.

28 years ago.
Jim Meyering [Fri, 15 Dec 1995 04:52:36 +0000 (04:52 +0000)]
.

28 years ago.
Jim Meyering [Fri, 15 Dec 1995 03:40:06 +0000 (03:40 +0000)]
.

28 years ago(main): Use xstrtol instead of atoi.
Jim Meyering [Fri, 15 Dec 1995 03:34:34 +0000 (03:34 +0000)]
(main): Use xstrtol instead of atoi.

28 years ago(nl): Change --first-page to --starting-line-number.
Jim Meyering [Fri, 15 Dec 1995 03:25:59 +0000 (03:25 +0000)]
(nl): Change --first-page to --starting-line-number.

28 years ago.
Jim Meyering [Fri, 15 Dec 1995 03:20:50 +0000 (03:20 +0000)]
.

28 years ago(main): Use xstrtol instead of atoi.
Jim Meyering [Fri, 15 Dec 1995 03:20:40 +0000 (03:20 +0000)]
(main): Use xstrtol instead of atoi.

28 years ago(main): Use xstrtol instead of atoi.
Jim Meyering [Fri, 15 Dec 1995 03:20:18 +0000 (03:20 +0000)]
(main): Use xstrtol instead of atoi.
Rename misleading --first-page=N option to --starting-line-number=N.
(usage): Update.

28 years ago(main): Use xstrtol instead of atoi.
Jim Meyering [Fri, 15 Dec 1995 03:19:51 +0000 (03:19 +0000)]
(main): Use xstrtol instead of atoi.
(fold_file): Make a couple locals `int', not size_t, and cast
fwrite's arg3 to size_t.

28 years ago.
Jim Meyering [Sat, 9 Dec 1995 04:06:38 +0000 (04:06 +0000)]
.

28 years ago.
Jim Meyering [Sat, 9 Dec 1995 04:00:17 +0000 (04:00 +0000)]
.

28 years ago.
Jim Meyering [Sat, 9 Dec 1995 02:52:17 +0000 (02:52 +0000)]
.

28 years ago.
Jim Meyering [Fri, 8 Dec 1995 22:44:18 +0000 (22:44 +0000)]
.

28 years ago.
Jim Meyering [Fri, 8 Dec 1995 22:39:38 +0000 (22:39 +0000)]
.

28 years ago.
Jim Meyering [Fri, 8 Dec 1995 20:19:49 +0000 (20:19 +0000)]
.

28 years ago.
Jim Meyering [Fri, 8 Dec 1995 20:18:40 +0000 (20:18 +0000)]
.

28 years agoAdd copyright.
Jim Meyering [Fri, 8 Dec 1995 04:50:48 +0000 (04:50 +0000)]
Add copyright.

28 years ago.
Jim Meyering [Thu, 7 Dec 1995 23:42:31 +0000 (23:42 +0000)]
.

28 years ago.
Jim Meyering [Wed, 6 Dec 1995 23:40:00 +0000 (23:40 +0000)]
.

28 years ago[!WITH_REGEX]: Include rx.h.
Jim Meyering [Wed, 6 Dec 1995 23:39:26 +0000 (23:39 +0000)]
[!WITH_REGEX]: Include rx.h.

28 years agofix typos. From Karl Heuer.
Jim Meyering [Wed, 6 Dec 1995 23:26:20 +0000 (23:26 +0000)]
fix typos. From Karl Heuer.

28 years ago(main): Diagnose improper form of arguments to -k, then fail.
Jim Meyering [Tue, 5 Dec 1995 23:50:43 +0000 (23:50 +0000)]
(main): Diagnose improper form of arguments to -k, then fail.

28 years ago(main): Diagnose improper form of arguments to -k, then fail..
Jim Meyering [Tue, 5 Dec 1995 23:50:18 +0000 (23:50 +0000)]
(main): Diagnose improper form of arguments to -k, then fail..

28 years ago(rm): Work around SunOS 4 bug whereby lstat doesn't fail
Jim Meyering [Tue, 5 Dec 1995 23:39:06 +0000 (23:39 +0000)]
(rm): Work around SunOS 4 bug whereby lstat doesn't fail
when given a zero-length file name argument.  Reported by
Mark Calabretta <mcalabre@atnf.csiro.au>.

28 years ago.
Jim Meyering [Tue, 5 Dec 1995 23:38:40 +0000 (23:38 +0000)]
.

28 years ago.
Jim Meyering [Tue, 5 Dec 1995 17:54:59 +0000 (17:54 +0000)]
.

28 years ago(numcompare): Properly handle all cases in which signs differ. From Karl Heuer.
Jim Meyering [Tue, 5 Dec 1995 17:53:39 +0000 (17:53 +0000)]
(numcompare): Properly handle all cases in which signs differ. From Karl Heuer.

28 years ago(bsd_sum_file): Remove misleading comment. From Karl Heuer.
Jim Meyering [Tue, 5 Dec 1995 15:53:31 +0000 (15:53 +0000)]
(bsd_sum_file): Remove misleading comment.  From Karl Heuer.

28 years ago.
Jim Meyering [Mon, 4 Dec 1995 16:29:54 +0000 (16:29 +0000)]
.

28 years agoUpdate to look like the one from textutils.
Jim Meyering [Sun, 3 Dec 1995 04:36:25 +0000 (04:36 +0000)]
Update to look like the one from textutils.

28 years agomake like the one in textutils
Jim Meyering [Sat, 2 Dec 1995 04:29:17 +0000 (04:29 +0000)]
make like the one in textutils

28 years ago. TEXTUTILS-1_13g
Jim Meyering [Fri, 1 Dec 1995 07:40:46 +0000 (07:40 +0000)]
.

28 years ago.
Jim Meyering [Fri, 1 Dec 1995 07:38:16 +0000 (07:38 +0000)]
.

28 years ago Exercise bug re comparing `-' and integers.
Jim Meyering [Fri, 1 Dec 1995 07:32:12 +0000 (07:32 +0000)]
 Exercise bug re comparing `-' and integers.

28 years agotreat `-' as if it were zero. Reported by Ross Alexander
Jim Meyering [Fri, 1 Dec 1995 07:03:47 +0000 (07:03 +0000)]
treat `-' as if it were zero.  Reported by Ross Alexander
<r.alexander@auckland.ac.nz>.

28 years ago.
Jim Meyering [Thu, 30 Nov 1995 21:00:06 +0000 (21:00 +0000)]
.

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