ru
0491ba1f63
Sync program's usage() with manpage's SYNOPSIS.
2005-05-21 09:55:10 +00:00
charnier
0a8bce8ca9
Introduce options list the standard way. Correct style(9) in FILES section.
2004-07-26 19:59:29 +00:00
ru
ee5b7e52fa
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
hmp
2b45c8c6e0
Remove unneeded lseek(2) hack to position past the 2GB point,
...
use fseeko(3) instead.
This commit fixes breakage when `lastcomm matchstring` is run.
PR: bin/66765, bin/64568
Submitted by: Dan Nelson <dnelson at allantgroup.com>
2004-05-20 19:25:27 +00:00
fenner
fd28d315c2
Don't try to fseek before the beginning of the file; POSIX requires that
...
this return an error.
This re-enables display of the first entry in /var/account/acct instead
of the error "lastcomm: /var/account/acct: Invalid argument"
2003-01-27 18:16:32 +00:00
dwmalone
b4339b74ad
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
obrien
bc61fc95d8
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
charnier
ba8eff66db
Use `The .Nm utility'. Add section number to .Xr.
2002-04-20 21:28:47 +00:00
imp
74d826c7a6
remove __P
2002-03-22 01:22:50 +00:00
imp
60cc340d82
Fixed divots that I created when I moved prototypes of group_from_gid
...
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
2002-02-19 00:05:59 +00:00
markm
ae2558974f
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
dd
2bbaae6092
Staticize, constize, de-registerize; don't shadow global definitions;
...
set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-26 22:22:19 +00:00
mikeh
99efa6b196
Print spaces on the leading edge rather than the trailing edge of each
...
field to avoid trailing spaces.
PR: bin/16649
MFC after: 2 weeks
2001-06-16 07:08:37 +00:00
ru
e6cfc0711d
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
phk
7fb21cfd39
Avoid using the semi-bogus include <struct.h>
...
All uses of fldsiz() in this file were wrong anyway.
2000-10-22 17:38:32 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
charnier
6fc33a9dac
Cosmetic in usage string.
1997-07-21 12:01:47 +00:00
tegge
9c1e6b87a1
Long command names are not NUL terminated. Force truncation in format string.
1997-06-23 22:09:15 +00:00
imp
141381e1cb
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
peter
f390c26dd9
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wollman
df37b0422c
Clean up style and formatting. The listing of options could still be
...
improved.
1996-09-18 16:48:54 +00:00
wosch
662bf44fe2
Add some options which makes lastcomm(1) a better debug tool.
1996-06-30 11:58:20 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
ache
bf8d66ec75
Fix output field range
...
Submitted by: edward@edcom.com
1995-04-11 18:50:51 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00