Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering 41d5fb8189 (main): Decalare local, BS. 1996-02-01 06:16:57 +00:00
Jim Meyering 3480c29030 . 1996-02-01 06:14:18 +00:00
Jim Meyering a5c268a9f9 __P-protect dcls. 1996-02-01 06:13:54 +00:00
Jim Meyering 4f3121b654 . 1996-02-01 06:11:41 +00:00
Jim Meyering 73b2951ffe . 1996-02-01 06:10:10 +00:00
Jim Meyering 46505987ea (main): Accept new option, --rfc-822 (-R).
(show_date): Use RFC822-mandated strftime format.
From H. Peter Anvin (hpa@storm.net).
(usage): Add a line describing the new option.
1996-02-01 05:44:59 +00:00
Jim Meyering bf58f8aea9 . 1996-02-01 05:44:38 +00:00
Jim Meyering 6c52fbcdfd (add_num_tz): New function.
(strftime): Handle new %z format.
From H. Peter Anvin (hpa@storm.net).
Don't use local, LENGTH, before it's defined.
1996-02-01 05:40:32 +00:00
Jim Meyering e76eb59d84 (main): New options --human-readable (-h) and --megabytes (-m).
(human_readable_1k_blocks): New function.
(print_header): Honor new options.
(show_dev): Honor new options.
Add ifdef'd-out code to avoid printing lines for mount points that
match ^/auto/.* and ^/tmp_mnt.*.  Rather than hard-coding those
two prefixes, the code should allow the user to specify a regular
expression.  From Larry McVoy (lm@sgi.com).

(human_readable_1k_blocks): Likewise
(usage): Update usage message to reflect additions.
1996-02-01 05:30:14 +00:00
Jim Meyering 5b093c28e1 . 1996-02-01 05:29:26 +00:00
Jim Meyering 9d3b949aa6 . 1996-02-01 05:26:35 +00:00
Jim Meyering a468d7579f (dump_remainder): Flush stdout when tailing-forever on multiple files.
From Carlos Canau <Carlos.Canau@relay.puug.pt>.
1996-02-01 05:25:54 +00:00
Jim Meyering 4eb32cb4f2 . 1996-02-01 05:22:08 +00:00
Jim Meyering 8f08533808 . 1996-02-01 04:22:48 +00:00
Jim Meyering 3b69e6514c 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.
1996-02-01 04:13:26 +00:00
Jim Meyering 9018ec3d41 (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.
1996-02-01 03:50:06 +00:00
Jim Meyering 5d16193294 (getdate.c, posixtm.c): Add rules for building these. 1996-02-01 03:43:49 +00:00
Jim Meyering 61b305d30d (DIST_OTHER): Add perm.texi and getdate.texi. Remove mdate-sh. 1996-02-01 03:42:56 +00:00
Jim Meyering efc9004234 . 1996-01-31 17:01:05 +00:00
Jim Meyering ba733f2d38 . 1996-01-31 14:53:02 +00:00
Jim Meyering 34a122edc8 . 1996-01-30 01:27:32 +00:00
Jim Meyering a5afd877aa . 1996-01-26 05:25:09 +00:00
Jim Meyering 1289479fce . 1996-01-25 12:00:18 +00:00
Jim Meyering 7bfb13dea7 Tweak usage. 1996-01-20 14:27:56 +00:00
Jim Meyering 744d31d57a (main): New options --human-readable (-h) and --megabytes (-m).
(human_readable): New function.
From Larry McVoy (lm@sgi.com).
1996-01-20 14:26:04 +00:00
Jim Meyering a58305d61e . 1996-01-20 12:41:13 +00:00
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