Commit Graph
20506 Commits
Author SHA1 Message Date
Paul Eggert 3e5310af44 readutmp changes to allow checking for live pids 2005-03-30 05:19:48 +00:00
Paul Eggert ec764b0a95 (read_utmp): New arg OPTIONS. All uses changed.
(UT_PID): Moved here from ../src/who.c.
(READ_UTMP_CHECK_PIDS): New constant.
2005-03-30 05:19:11 +00:00
Paul Eggert 196fb1bc5c (read_utmp): New arg OPTIONS. All uses changed.
Include signal.h, stdbool.h.
(desirable_utmp_entry): New function.
(read_utmp) [defined UTMP_NAME_FUNCTION]: Redo memory allocation
using x2nrealloc, to simplify logic.
(read_utmp) [!defined UTMP_NAME_FUNCTION]: Check for overflow in
size calculation.
2005-03-30 05:18:37 +00:00
Jim Meyering a3710b1ef6 *** empty log message *** 2005-03-29 19:01:43 +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 31927b4957 *** empty log message *** 2005-03-29 12:06:20 +00:00
Jim Meyering 4ae2c738d4 *** empty log message *** 2005-03-29 12:03:31 +00:00
Jim Meyering 363dc86fce (long_options): Use NULL, not `0'. 2005-03-29 11:56:10 +00:00
Jim Meyering a2131c5559 *** empty log message *** 2005-03-29 08:19:25 +00:00
Jim Meyering c34d598405 Indent cpp directives. 2005-03-29 08:19:20 +00:00
Jim Meyering 9f9012414f *** empty log message *** 2005-03-29 07:19:29 +00:00
Jim Meyering 0f7921b86f Return success on systems such as cygwin
where no absolute path name can be longer than PATH_MAX.
2005-03-29 07:18:58 +00:00
Jim Meyering 5537c89eb7 . 2005-03-28 21:58:07 +00:00
Jim Meyering 00fcde597c *** empty log message *** 2005-03-28 19:30:14 +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 9ea824018a *** empty log message *** 2005-03-28 18:21:26 +00:00
Jim Meyering 734cf53a3c (long_options): Use NULL, not `0'. 2005-03-28 18:21:13 +00:00
Jim Meyering 1df790f540 *** empty log message *** 2005-03-28 18:18:35 +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 1c9ab7efaf *** empty log message *** 2005-03-28 18:16:26 +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 7ae52d9af9 *** empty log message *** 2005-03-28 18:06:06 +00:00
Jim Meyering 9ac9a47b7f (longopts): Use NULL, not `0'. 2005-03-28 18:05:53 +00:00
Jim Meyering e1a595d521 (long_options): Use NULL, not `0'. 2005-03-28 18:05:28 +00:00
Jim Meyering 3a9a4b335f (time_style_args, indicator_style_args, long_options)
(format_args, sort_args, time_args, decode_switches)
(gobble_file): Use NULL, not `0'.
2005-03-28 18:04:50 +00:00
Jim Meyering 94064e8436 (longopts): Use NULL, not `0'. 2005-03-28 18:01:04 +00:00
Jim Meyering 2d5fa94300 *** empty log message *** 2005-03-28 18:00:26 +00:00
Jim Meyering 6c816682e0 (time_spec_string): Use NULL, not `0'. 2005-03-28 18:00:16 +00:00
Jim Meyering 637eeea9bd (find_mount_point, show_point): Use NULL, not `0'. 2005-03-28 17:59:54 +00:00
Jim Meyering d8c14fc15e (extract_regexp): Use NULL, not `0'. 2005-03-28 17:57:57 +00:00
Jim Meyering 3fbb037ff8 (copy_reg): Use NULL, not `0'. 2005-03-28 17:55:43 +00:00
Jim Meyering 87c01f7dcb (long_options): Use NULL, not `0'. 2005-03-28 17:54:13 +00:00
Jim Meyering 47f1cd0d8a (chopt_init): Use NULL, not `0'. 2005-03-28 17:50:54 +00:00
Jim Meyering 5f107875c5 (reply_args): Use NULL, not `0'. 2005-03-28 17:50:14 +00:00