Commit Graph
4997 Commits
Author SHA1 Message Date
Jim Meyering 66374c61ee (binary_operator) [LINT]: Initialize lt and rt to 0. 2005-04-07 20:10:03 +00:00
Jim Meyering 3bad149c95 (digest_check) [LINT]: Initialize hex_digest to NULL. 2005-04-07 20:09:46 +00:00
Jim Meyering d736105221 (binop): Move function definition to precede first use so we can...
(binop): ...remove prototype.
2005-04-07 17:14:14 +00:00
Jim Meyering d55d4b6c81 (is_int, age_of, binop): Declare char *' parameters to be const'. 2005-04-07 17:12:27 +00:00
Paul Eggert e8a0c946f5 (usage): Add examples. 2005-04-05 22:21:50 +00:00
Jim Meyering 44ebdc8d01 (usage): Mention that some shells provide a built-in function by the same name. 2005-04-05 11:53:47 +00:00
Jim Meyering e4a293284f (usage): Mention that some shells provide a
built-in function by the same name.
2005-04-05 11:53:38 +00:00
Jim Meyering 6d619b4ab7 . 2005-04-05 11:45:49 +00:00
Jim Meyering dce4a77a99 (tee): When closing files, do not close stdout,
leave this job to close_stdout() instead.
From Dmitry V. Levin.
2005-04-05 11:40:53 +00:00
Jim Meyering e3cb2a0a05 (usage): Move USAGE_BUILTIN_WARNING to end of --help output. 2005-04-04 22:30:57 +00:00
Jim Meyering ce1ecb48b7 (USAGE_BUILTIN_WARNING): remove trailing newline 2005-04-04 22:30:22 +00:00
Jim Meyering 8c3ce409f1 . 2005-04-04 22:29:37 +00:00
Jim Meyering 3905751383 (usage): Mention that some shells provide a built-in
function by the same name.
2005-04-04 21:57:45 +00:00
Jim Meyering d3632f3571 (usage): Mention that some shells provide a built-in
function by the same name.
2005-04-04 21:57:04 +00:00
Jim Meyering d209b0f75e (usage): Mention that some shells provide a built-in
function by the same name.
2005-04-04 21:56:01 +00:00
Jim Meyering 84812b110d (usage): Mention that some shells provide a built-in
function by the same name.
2005-04-04 21:55:06 +00:00
Jim Meyering 97cce6e83f (USAGE_BUILTIN_WARNING): New macro. 2005-04-04 21:51:30 +00:00
Jim Meyering bb0eb686fc (main): Fix off-by-one error.
pr -$(perl -e 'print "0"x63 . 1') would write one byte beyond the
end of a malloc'd buffer.
2005-04-03 13:12:53 +00:00
Jim Meyering 05613505e5 Correct indentation of the two just-split lines. 2005-04-01 22:29:15 +00:00
Jim Meyering 91377273e6 split two longer-than-80-column lines 2005-04-01 20:06:22 +00:00
Jim Meyering a76fbd821b (main): Free column_count_string when done with it. 2005-04-01 20:05:33 +00:00
Jim Meyering a21d9a21de Don't let pr treat +1:-1 like +1:18446744073709551615.
(strtoumax): Remove declaration.
(first_last_page): Use xstrtoumax in place of strtoumax,
so we don't interpret a negative page number (e.g., in an option
like --pages=1:-1) as valid.
2005-04-01 07:39:45 +00:00
Paul Eggert 78abb1a757 (who): New arg OPTIONS. All uses changed.
(main): Check PIDs when invoked with zero or two arguments.
Omit duplicate code in 2-arg case.
(UT_PID): Moved to ../lib/readutmp.h.
2005-03-30 05:24:05 +00:00
Paul Eggert 08b5977867 (users): New arg OPTIONS. All uses changed.
(main): Check PIDs when invoked with zero arguments.
2005-03-30 05:23:17 +00:00
Paul Eggert 733abad3ed (uptime): New arg OPTIONS. All uses changed.
(main): Check PIDs when invoked with zero arguments.
2005-03-30 05:22:30 +00:00
Paul Eggert 6584af72c9 (short_pinky): Adjust to read_utmp signature change. 2005-03-30 05:21:31 +00:00
Jim Meyering 68bc3503b8 (ptr_align): Declare `ptr' parameter to be a
`const' pointer, since this function never writes through it.
2005-03-29 19:01:34 +00:00
Jim Meyering 24e7f6c248 Remove #if-0'd-out code. 2005-03-29 14:09:35 +00:00
Jim Meyering c34d598405 Indent cpp directives. 2005-03-29 08:19:20 +00:00
Jim Meyering 5537c89eb7 . 2005-03-28 21:58:07 +00:00
Jim Meyering 129f0dca9d (print_sep_string):
Add `void' to make this an ANSI-style function declaration.
2005-03-28 19:29:54 +00:00
Jim Meyering 15669cf4e1 (ds_init): Add `void' to make this an ANSI-style function declaration. 2005-03-28 19:29:17 +00:00
Jim Meyering f00c1cbeb8 (get_width_format) [HAVE_RINT && HAVE_MODF && HAVE_FLOOR]:
Add `void' to make this an ANSI-style function declaration.
2005-03-28 19:28:33 +00:00
Jim Meyering 3a14f69532 (sc_tight_scope): Adjust to catch any
new declarations like that of stty.c's `speeds'.
2005-03-28 19:22:36 +00:00
Jim Meyering d7f7c39c11 (speeds): Declare this array to be static. 2005-03-28 18:41:09 +00:00
Jim Meyering 734cf53a3c (long_options): Use NULL, not `0'. 2005-03-28 18:21:13 +00:00
Jim Meyering a73da0345c (follow_mode_string): Use NULL, not `0'. 2005-03-28 18:18:21 +00:00
Jim Meyering 3cae70f6e6 (long_options): Use NULL, not `0'. 2005-03-28 18:17:40 +00:00
Jim Meyering eab72607cc (docolon): Use NULL, not `0'. 2005-03-28 18:17:02 +00:00
Jim Meyering ce70c7bdc4 (print_user): Use NULL, not `0'. 2005-03-28 18:16:06 +00:00
Jim Meyering 79c88de2cc (print_uptime): Use NULL, not `0'. 2005-03-28 18:15:16 +00:00
Jim Meyering 31e6aa70e6 (delimit_method_string): Use NULL, not `0'. 2005-03-28 18:14:15 +00:00
Jim Meyering 5208f4b7ba (longopts, time_args): Use NULL, not `0'. 2005-03-28 18:13:40 +00:00
Jim Meyering b0f4666d02 (main): Use NULL, not `0'. 2005-03-28 18:11:18 +00:00
Jim Meyering 77c6ac360f (long_options): Use NULL, not `0'. 2005-03-28 18:10:49 +00:00
Jim Meyering 8d90b78f17 (long_options, mergefps): Use NULL, not `0'. 2005-03-28 18:09:51 +00:00
Jim Meyering dc9390825f (longopts): Use NULL, not `0'. 2005-03-28 18:08:45 +00:00
Jim Meyering 6a893f06a4 (long_options, format_args): Use NULL, not `0'. 2005-03-28 18:08:12 +00:00
Jim Meyering 63a7783403 (print_entry): Use NULL, not `0'. 2005-03-28 18:06:55 +00:00
Jim Meyering 9ac9a47b7f (longopts): Use NULL, not `0'. 2005-03-28 18:05:53 +00:00