Commit Graph

1462 Commits

Author SHA1 Message Date
Jim Meyering 3bd2561144 . 1996-01-20 12:37:23 +00:00
Jim Meyering 156a61c86d (usage): Copy backup/suffix stuff from ln.c.
(main): Handle 'S' in getopt switch.
1996-01-20 12:37:12 +00:00
Jim Meyering 5850877aea (BUILT_SOURCES): Set to posixtm.c getdate.c. 1996-01-20 12:35:06 +00:00
Jim Meyering 847dcc878b . 1996-01-20 12:33:59 +00:00
Jim Meyering 84791e75cc . 1996-01-20 12:22:38 +00:00
Jim Meyering e30230223c Year is 6th field, not 7th. 1996-01-20 12:18:50 +00:00
Jim Meyering 884e63790c . 1996-01-20 12:11:48 +00:00
Jim Meyering a0b8bf89d3 . 1996-01-19 17:39:42 +00:00
Jim Meyering c3e64b1b2d (copy_files): Accept backup options just as cp, ln, and
mv do: --backup (-b).  From Marty Leisner <leisner@sdsp.mc.xerox.c>.
1996-01-19 17:39:06 +00:00
Jim Meyering 2131b2e9d5 Protoize. 1996-01-19 16:05:23 +00:00
Jim Meyering 6981af01ee . 1996-01-19 16:00:29 +00:00
Jim Meyering 863c253425 (argdecode): Declare parameter const. 1996-01-17 17:50:08 +00:00
Jim Meyering 08d800d44e (advance): Protoize function. 1996-01-17 17:46:12 +00:00
Jim Meyering e23e3f656a Break some long lines.
Add const attribute to a few parameters.
1996-01-17 17:44:22 +00:00
Jim Meyering 4ad4b8aaec (integer_arg): Use xstrtol instead of open-coding this. 1996-01-17 17:41:00 +00:00
Jim Meyering 0f32a82524 (.su_SOURCES): Add xstrtol.c.
(HEADERS): Add xstrtol.h.
1996-01-17 17:38:27 +00:00
Jim Meyering 2a0d3143dd (visible): Change parameter type to unsigned int from unsigned char. 1996-01-17 17:20:41 +00:00
Jim Meyering 6e867c19c9 Protoize and __P-protect forward dcls. 1996-01-17 17:19:07 +00:00
Jim Meyering c78152220a Indent cpp directives. 1996-01-14 04:31:59 +00:00
Jim Meyering be2519d4dd . 1996-01-14 04:19:34 +00:00
Jim Meyering 9800c1597f Include config.h. 1996-01-14 04:18:48 +00:00
Jim Meyering 2bf12371d8 . 1996-01-08 06:15:59 +00:00
Jim Meyering 7243acff2a . 1996-01-08 06:15:20 +00:00
Jim Meyering bfa30819b9 . 1996-01-08 04:54:29 +00:00
Jim Meyering ac5e053d8f . 1996-01-08 04:53:30 +00:00
Jim Meyering 13751495a1 (print_element): Change type of argument from char
to int to avoid potential promotion problem.
1996-01-07 04:08:44 +00:00
Jim Meyering 1d2f218bff (print_esc_char): Change type of argument from char to int to avoid
potential promotion problem.
1996-01-07 04:06:41 +00:00
Jim Meyering 00b953713e Fix typo in __P use. 1996-01-07 04:04:48 +00:00
Jim Meyering ed4a024430 . 1996-01-06 11:57:17 +00:00
Jim Meyering 53398947a1 Protoize and __P-protect forward dcls. 1996-01-06 11:44:05 +00:00
Jim Meyering 5e14cce7ae Define WHO and include new file, who-users.c. 1996-01-06 11:17:50 +00:00
Jim Meyering 27276e481d . 1996-01-06 11:16:08 +00:00
Jim Meyering 7949927db6 rename from who.c 1996-01-06 11:13:11 +00:00
Jim Meyering 634853cee6 Remove NGROUPS_MAX junk. It wasn't being used. 1996-01-06 06:10:08 +00:00
Jim Meyering 0f100b0d3f (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.
1996-01-06 06:07:23 +00:00
Jim Meyering 83adf65c37 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.
1996-01-06 06:04:09 +00:00
Jim Meyering 67b467223a . 1996-01-06 05:28:49 +00:00
Jim Meyering 2e6b75c735 . 1996-01-06 00:30:45 +00:00
Jim Meyering 0ec5eacc92 . TEXTUTILS-1_13k 1996-01-05 04:56:53 +00:00
Jim Meyering b024130dc2 . 1996-01-05 02:46:41 +00:00
Jim Meyering aff66fa170 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.
1996-01-05 02:44:42 +00:00
Jim Meyering 92e8245d90 . 1996-01-05 02:37:28 +00:00
Jim Meyering c300ac7a4d [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.
1996-01-05 02:35:39 +00:00
Jim Meyering 67b836ed72 . 1996-01-04 12:48:25 +00:00
Jim Meyering 388569f846 . TEXTUTILS-1_13j 1996-01-04 05:35:34 +00:00
Jim Meyering 981d081027 (usage): Tweak wording in --help output. 1996-01-04 05:31:58 +00:00
Jim Meyering 6a7bd50a0b Use $year', not year' as expr arg. 1996-01-04 05:29:09 +00:00
Jim Meyering f280d719f3 update from gettext 1996-01-04 05:24:48 +00:00
Jim Meyering 1d39399861 . 1996-01-03 18:20:16 +00:00
Jim Meyering 008d74220b . 1996-01-03 06:04:46 +00:00