Jim Meyering [Thu, 1 Feb 1996 05:26:35 +0000 (05:26 +0000)]
.
Jim Meyering [Thu, 1 Feb 1996 05:25:54 +0000 (05:25 +0000)]
(dump_remainder): Flush stdout when tailing-forever on multiple files.
From Carlos Canau <Carlos.Canau@relay.puug.pt>.
Jim Meyering [Thu, 1 Feb 1996 05:22:08 +0000 (05:22 +0000)]
.
Jim Meyering [Thu, 1 Feb 1996 04:22:48 +0000 (04:22 +0000)]
.
Jim Meyering [Thu, 1 Feb 1996 04:13:26 +0000 (04:13 +0000)]
Remove comma after last item in enum.
(human_readable): Fix off-by-one error that converted
1024*1024 to 1024K rather than 1G. Describe the function.
Jim Meyering [Thu, 1 Feb 1996 03:50:06 +0000 (03:50 +0000)]
(skip): Change type of parameter #5 from char* to unsigned char* to match
type of argument.
(copy): Cast first arg in memset call to char* to avoid warnings from
SunOS's acc.
(copy_simple): Likewise.
Jim Meyering [Thu, 1 Feb 1996 03:43:49 +0000 (03:43 +0000)]
(getdate.c, posixtm.c): Add rules for building these.
Jim Meyering [Thu, 1 Feb 1996 03:42:56 +0000 (03:42 +0000)]
(DIST_OTHER): Add perm.texi and getdate.texi. Remove mdate-sh.
Jim Meyering [Wed, 31 Jan 1996 17:01:05 +0000 (17:01 +0000)]
.
Jim Meyering [Wed, 31 Jan 1996 14:53:02 +0000 (14:53 +0000)]
.
Jim Meyering [Tue, 30 Jan 1996 01:27:32 +0000 (01:27 +0000)]
.
Jim Meyering [Fri, 26 Jan 1996 05:25:09 +0000 (05:25 +0000)]
.
Jim Meyering [Thu, 25 Jan 1996 12:00:18 +0000 (12:00 +0000)]
.
Jim Meyering [Sat, 20 Jan 1996 14:27:56 +0000 (14:27 +0000)]
Tweak usage.
Jim Meyering [Sat, 20 Jan 1996 14:26:04 +0000 (14:26 +0000)]
(main): New options --human-readable (-h) and --megabytes (-m).
(human_readable): New function.
From Larry McVoy (lm@sgi.com).
Jim Meyering [Sat, 20 Jan 1996 12:41:13 +0000 (12:41 +0000)]
.
Jim Meyering [Sat, 20 Jan 1996 12:37:23 +0000 (12:37 +0000)]
.
Jim Meyering [Sat, 20 Jan 1996 12:37:12 +0000 (12:37 +0000)]
(usage): Copy backup/suffix stuff from ln.c.
(main): Handle 'S' in getopt switch.
Jim Meyering [Sat, 20 Jan 1996 12:35:06 +0000 (12:35 +0000)]
(BUILT_SOURCES): Set to posixtm.c getdate.c.
Jim Meyering [Sat, 20 Jan 1996 12:33:59 +0000 (12:33 +0000)]
.
Jim Meyering [Sat, 20 Jan 1996 12:22:38 +0000 (12:22 +0000)]
.
Jim Meyering [Sat, 20 Jan 1996 12:18:50 +0000 (12:18 +0000)]
Year is 6th field, not 7th.
Jim Meyering [Sat, 20 Jan 1996 12:11:48 +0000 (12:11 +0000)]
.
Jim Meyering [Fri, 19 Jan 1996 17:39:42 +0000 (17:39 +0000)]
.
Jim Meyering [Fri, 19 Jan 1996 17:39:06 +0000 (17:39 +0000)]
(copy_files): Accept backup options just as cp, ln, and
mv do: --backup (-b). From Marty Leisner <leisner@sdsp.mc.xerox.c>.
Jim Meyering [Fri, 19 Jan 1996 16:05:23 +0000 (16:05 +0000)]
Protoize.
Jim Meyering [Fri, 19 Jan 1996 16:00:29 +0000 (16:00 +0000)]
.
Jim Meyering [Wed, 17 Jan 1996 17:50:08 +0000 (17:50 +0000)]
(argdecode): Declare parameter const.
Jim Meyering [Wed, 17 Jan 1996 17:46:12 +0000 (17:46 +0000)]
(advance): Protoize function.
Jim Meyering [Wed, 17 Jan 1996 17:44:22 +0000 (17:44 +0000)]
Break some long lines.
Add const attribute to a few parameters.
Jim Meyering [Wed, 17 Jan 1996 17:41:00 +0000 (17:41 +0000)]
(integer_arg): Use xstrtol instead of open-coding this.
Jim Meyering [Wed, 17 Jan 1996 17:38:27 +0000 (17:38 +0000)]
(.su_SOURCES): Add xstrtol.c.
(HEADERS): Add xstrtol.h.
Jim Meyering [Wed, 17 Jan 1996 17:20:41 +0000 (17:20 +0000)]
(visible): Change parameter type to unsigned int from unsigned char.
Jim Meyering [Wed, 17 Jan 1996 17:19:07 +0000 (17:19 +0000)]
Protoize and __P-protect forward dcls.
Jim Meyering [Sun, 14 Jan 1996 04:31:59 +0000 (04:31 +0000)]
Indent cpp directives.
Jim Meyering [Sun, 14 Jan 1996 04:19:34 +0000 (04:19 +0000)]
.
Jim Meyering [Sun, 14 Jan 1996 04:18:48 +0000 (04:18 +0000)]
Include config.h.
Jim Meyering [Mon, 8 Jan 1996 06:15:59 +0000 (06:15 +0000)]
.
Jim Meyering [Mon, 8 Jan 1996 06:15:20 +0000 (06:15 +0000)]
.
Jim Meyering [Mon, 8 Jan 1996 04:54:29 +0000 (04:54 +0000)]
.
Jim Meyering [Mon, 8 Jan 1996 04:53:30 +0000 (04:53 +0000)]
.
Jim Meyering [Sun, 7 Jan 1996 04:08:44 +0000 (04:08 +0000)]
(print_element): Change type of argument from char
to int to avoid potential promotion problem.
Jim Meyering [Sun, 7 Jan 1996 04:06:41 +0000 (04:06 +0000)]
(print_esc_char): Change type of argument from char to int to avoid
potential promotion problem.
Jim Meyering [Sun, 7 Jan 1996 04:04:48 +0000 (04:04 +0000)]
Fix typo in __P use.
Jim Meyering [Sat, 6 Jan 1996 11:57:17 +0000 (11:57 +0000)]
.
Jim Meyering [Sat, 6 Jan 1996 11:44:05 +0000 (11:44 +0000)]
Protoize and __P-protect forward dcls.
Jim Meyering [Sat, 6 Jan 1996 11:17:50 +0000 (11:17 +0000)]
Define WHO and include new file, who-users.c.
Jim Meyering [Sat, 6 Jan 1996 11:16:08 +0000 (11:16 +0000)]
.
Jim Meyering [Sat, 6 Jan 1996 11:13:11 +0000 (11:13 +0000)]
rename from who.c
Jim Meyering [Sat, 6 Jan 1996 06:10:08 +0000 (06:10 +0000)]
Remove NGROUPS_MAX junk. It wasn't being used.
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.
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.
Jim Meyering [Sat, 6 Jan 1996 05:28:49 +0000 (05:28 +0000)]
.
Jim Meyering [Sat, 6 Jan 1996 00:30:45 +0000 (00:30 +0000)]
.
Jim Meyering [Fri, 5 Jan 1996 04:56:53 +0000 (04:56 +0000)]
.
Jim Meyering [Fri, 5 Jan 1996 02:46:41 +0000 (02:46 +0000)]
.
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.
Jim Meyering [Fri, 5 Jan 1996 02:37:28 +0000 (02:37 +0000)]
.
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.
Jim Meyering [Thu, 4 Jan 1996 12:48:25 +0000 (12:48 +0000)]
.
Jim Meyering [Thu, 4 Jan 1996 05:35:34 +0000 (05:35 +0000)]
.
Jim Meyering [Thu, 4 Jan 1996 05:31:58 +0000 (05:31 +0000)]
(usage): Tweak wording in --help output.
Jim Meyering [Thu, 4 Jan 1996 05:29:09 +0000 (05:29 +0000)]
Use `$year', not `year' as expr arg.
Jim Meyering [Thu, 4 Jan 1996 05:24:48 +0000 (05:24 +0000)]
update from gettext
Jim Meyering [Wed, 3 Jan 1996 18:20:16 +0000 (18:20 +0000)]
.
Jim Meyering [Wed, 3 Jan 1996 06:04:46 +0000 (06:04 +0000)]
.
Jim Meyering [Wed, 3 Jan 1996 05:55:26 +0000 (05:55 +0000)]
Fix comments.
Jim Meyering [Wed, 3 Jan 1996 05:51:15 +0000 (05:51 +0000)]
.
Jim Meyering [Wed, 3 Jan 1996 05:49:22 +0000 (05:49 +0000)]
.
Jim Meyering [Tue, 2 Jan 1996 06:10:49 +0000 (06:10 +0000)]
.
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>.
Jim Meyering [Tue, 2 Jan 1996 00:15:46 +0000 (00:15 +0000)]
14b: Just like 14a, but add -f.
Jim Meyering [Mon, 1 Jan 1996 23:55:02 +0000 (23:55 +0000)]
Correct 14a per manual.
Jim Meyering [Mon, 1 Jan 1996 22:33:52 +0000 (22:33 +0000)]
.
Jim Meyering [Sun, 31 Dec 1995 06:46:46 +0000 (06:46 +0000)]
.
Jim Meyering [Sun, 31 Dec 1995 04:12:10 +0000 (04:12 +0000)]
.
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.
Jim Meyering [Tue, 26 Dec 1995 05:50:19 +0000 (05:50 +0000)]
.
Jim Meyering [Sat, 23 Dec 1995 18:19:26 +0000 (18:19 +0000)]
.
Jim Meyering [Sat, 23 Dec 1995 17:39:21 +0000 (17:39 +0000)]
.
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.
Jim Meyering [Sat, 23 Dec 1995 16:39:20 +0000 (16:39 +0000)]
.
Jim Meyering [Fri, 22 Dec 1995 15:30:31 +0000 (15:30 +0000)]
(usage): Align text in -n line.
Jim Meyering [Fri, 22 Dec 1995 06:51:26 +0000 (06:51 +0000)]
.
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.
Jim Meyering [Fri, 22 Dec 1995 06:39:47 +0000 (06:39 +0000)]
.
Jim Meyering [Fri, 22 Dec 1995 05:31:58 +0000 (05:31 +0000)]
.
Jim Meyering [Fri, 22 Dec 1995 05:31:17 +0000 (05:31 +0000)]
Include argmatch.h.
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.
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.
Jim Meyering [Fri, 22 Dec 1995 05:16:11 +0000 (05:16 +0000)]
.
Jim Meyering [Fri, 22 Dec 1995 05:15:35 +0000 (05:15 +0000)]
.
Jim Meyering [Thu, 21 Dec 1995 23:06:40 +0000 (23:06 +0000)]
(HEADERS): Add argmatch.h.
Jim Meyering [Thu, 21 Dec 1995 23:05:56 +0000 (23:05 +0000)]
.
Jim Meyering [Wed, 20 Dec 1995 05:47:35 +0000 (05:47 +0000)]
.
Jim Meyering [Tue, 19 Dec 1995 04:31:06 +0000 (04:31 +0000)]
.
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.'
Jim Meyering [Tue, 19 Dec 1995 04:25:24 +0000 (04:25 +0000)]
.
Jim Meyering [Tue, 19 Dec 1995 03:46:25 +0000 (03:46 +0000)]
.
Jim Meyering [Sun, 17 Dec 1995 22:28:45 +0000 (22:28 +0000)]
(noinst_LIBRARIES): Define this, not plain LIBRARIES.