Ed Schouten
10bc3a7f42
ANSIfy almost all applications that use WARNS=6.
...
I was considering committing all these patches one by one, but as
discussed with brooks@, there is no need to do this. If we ever
need/want to merge these changes back, it is still possible to do this
per application.
2009-12-29 22:53:27 +00:00
Diomidis Spinellis
fdbe5babe4
Increase precision of time values in the process accounting
...
structure, while maintaining backward compatibility with legacy
file and record formats.
2007-05-22 06:51:38 +00:00
Diomidis Spinellis
5f6f6b2933
Add -U and -P options that allow the specification of the per-user
...
and per-process summary file location.
These make the program more flexible, and also make it possible to write
sane regression tests.
2007-05-18 12:36:10 +00:00
Xin LI
69315c6f32
Full modernize cleanup:
...
- De-__P()
- constify where appropriate
- ANSI functions instead of K&R
Pointed out by: stefanf
2005-02-10 12:43:16 +00:00
David E. O'Brien
b728350ee6
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
Dag-Erling Smørgrav
72d78aeaeb
Get rid of %qd, and unbreak Alpha build.
2002-07-15 16:05:15 +00:00
Warner Losh
576541a9e6
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
Andrew Gallatin
e49012e8ea
fix unaligned access errors by copying untyped data to properly aligned
...
locals
PR: alpha/13912
obtained from: NetBSD
tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
2000-10-26 17:35:46 +00:00
Guy Helmer
e35ba769a6
Adjust the width of the first column in output from "sa -m" to match
...
the max length of user names.
PR: bin/10905
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-05-30 13:27:33 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Bruce Evans
0f854af2f8
Fixed printf format errors. One of them fixes the garbage output for
...
sa -km reported in the PR.
PR: 4582
1999-08-06 07:03:25 +00:00
Philippe Charnier
19112792f5
Add usage().
1997-10-15 06:41:19 +00:00
Peter Wemm
476602a9d0
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
1130b656e5
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
Mike Pritchard
553072f33a
Fix the -t option so that its output matches what the man
...
page says it prints. Also silence a few "cc -Wall" warnings.
1996-01-22 09:02:08 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
David Greenman
b1069b52ff
Process accounting utility by Chris Demetriou.
...
Obtained from: NetBSD
1994-09-26 21:22:57 +00:00