Commit Graph

26 Commits

Author SHA1 Message Date
mrg 37649e4074 - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
joerg 4d72fc9046 static + __dead 2011-09-06 18:29:35 +00:00
plunky 87d4f6076b Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
2011-08-30 17:06:20 +00:00
mrg 130d5d4569 call ctime() with an actual time_t *. 2006-05-11 01:25:23 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
cgd fdfcf1962d labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l 2001-01-16 02:43:37 +00:00
fvdl 147850f99c Adapt to TI-RPC, enable IPv6. 2000-06-03 19:30:03 +00:00
fvdl 02cf1ccebe Correct last argument to clnt_broadcast. 2000-06-03 14:05:29 +00:00
simonb d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
hubertf 935d606f7d Get idle time right, per PR 5699 by Urban Boquist <boquist@cs.chalmers.se> 1998-07-03 18:35:35 +00:00
kleink 14c640d35e Need <time.h> for ctime() prototype. Also, per KNF, don't include both
<sys/param.h> and <sys/types.h>; the latter is sufficient.
1998-04-02 10:59:14 +00:00
perry db49a9331a change includes to fix compiler warning 1998-02-03 04:08:01 +00:00
lukem fa55e11566 * sanitize long output, fixing buffer overflows whilst doing so
* clean up for WARNS?=1
1997-08-24 02:40:40 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
jtc cac62b2d65 Be pedantic, main() returns int in C. 1996-03-21 17:56:15 +00:00
jtc c1e339da11 Must use a struct timeval, not NULL, for the timeout in clnt_call. 1993-12-10 19:33:58 +00:00
deraadt 27e94f1e34 fill hostname:tty field in same way as SunOS 1993-12-03 23:39:15 +00:00
mycroft c018c0e0fe Oops. Don't want the name spaced out. 1993-11-21 20:02:28 +00:00
mycroft 29ed1ec94a Make sure we don't run off the end of ut_name when printing the short way. 1993-11-21 19:54:19 +00:00
brezak a4fc624fbb Cleanup to use hand-crafted version2 xdr's 1993-11-21 19:01:01 +00:00
deraadt 85889786ad de-ansify
format better, now readable in most cases on 80-char wide screens
and it looks pretty.
1993-11-10 04:19:03 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
brezak adbc81e9d6 Line buffer output to work better with more. 1993-06-10 12:28:06 +00:00
brezak 0d06258f71 Widen host field and don't truncate host names longer than the field.
Display user idle times as days, hours, minutes, seconds.
1993-06-08 14:45:37 +00:00
brezak 5f2b367636 Add rup and rusers. Changes to rwall 1993-06-03 19:32:26 +00:00