ache
e2324408e1
Don't attempt to parse %c
2001-03-21 20:26:51 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
steve
5cceedd3e5
Be picky about the format of the commandline and cleanup
...
a warning related to qsort.
PR: 6420
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-03 23:22:37 +00:00
charnier
8b7cbe2ccb
Use err(3). Add usage() and prototypes. Add Xr to who(1).
1997-08-08 12:20:24 +00:00
imp
cd84ece5fd
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
ache
59efaceaa6
Fix my error from previous commit with mixing rwhod protocol
...
and utmp sizes.
Replace hardcoded constants by sizeofs or symbolic constants
1996-12-05 20:19:33 +00:00
ache
41e012c7ab
Use UT_* contstants when possible instead of harcoded 8
...
2.2 candidate
1996-12-05 17:12:51 +00:00
bde
0350140145
Eliminated includes of the "temporary" backwards compatibility header
...
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
ache
76956502f4
Add setlocale LT_TIME
1995-10-24 04:09:49 +00:00
ache
0a48c48dc9
Change ctime to strftime %c to use national date/time representation.
1995-08-08 00:15:16 +00:00
rgrimes
79e59e9123
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
ats
9f9964ce84
My prevoius commit missed some things. The out_line didn't need
...
to be padded to 8 chars. Simply make sure that never more than 8 chars
are printed ( %-.8s ). The former commit otherwise hosed the width
calculation and landed on different positions for the time output.
Also the strlen(xx_out_line) hoses the wide
calculation, so that it sometimes make it much larger than necessary.
Simply use always 8 chars for the out_line calculation now. Looks good
this way.
1994-12-27 00:53:14 +00:00
ats
ad4b7014ed
The out_line doesn't need to be zero terminated, so print it not with %s
...
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
1994-12-26 17:29:03 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00