OpenGrok
Cross Reference: ruptime.c
xref
: /
src
/
usr.bin
/
ruptime
/
ruptime.c
Home
|
History
|
Annotate
|
Download
|
only in
ruptime
History log of
/src/usr.bin/ruptime/ruptime.c
Revision
Date
Author
Comments
1.16
19-Sep-2025
mrg
fix a couple of "allocate too little" issues GCC 14 pointed out.
both ruptime and inetd allocate a less-than-struct-sized space and
assign it to a struct pointer. neither of them actually use more
than the allocated memory, but this is still dodgy and technically
wrong. just allocate the right size.
1.15
06-Sep-2011
joerg
ANSIfy, static + __dead
1.14
13-Apr-2009
lukem
Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
1.13
21-Jul-2008
lukem
branches: 1.13.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
1.12
12-Sep-2005
christos
branches: 1.12.22;
Rewrite a macro in order to eliminate an unused global variable (Liam Foy)
1.11
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
1.10
05-Jan-2001
mjl
ANSIfy, alphabetize arguments.
1.9
31-Dec-2000
ad
PR 11667: ruptime output is unpretty for uptimes in excess of 99 days. Give
us one more column to play with, and expand the field size by one.
1.8
19-Dec-1998
christos
brace police
1.7
19-Apr-1998
hubertf
Print sane values on uptime >1 year, per PR 5318 by Heiko Rupp
1.6
19-Oct-1997
lukem
WARNSify, deprecate register
1.5
09-Jan-1997
tls
Sync to 4.4BSD-Lite2
1.4
05-Apr-1994
cgd
fix from Alan Coopersmith <alanc@ocf.berkeley.edu> for un-initted variable
1.3
04-Dec-1993
jtc
Use <dirent.h> instead of <sys/dir.h>.
1.2
01-Aug-1993
mycroft
Add RCS identifiers.
1.1
21-Mar-1993
cgd
branches: 1.1.1;
after 0.2.2 "stable" patches applied
1.1.1.1
09-Jan-1997
tls
Import from 4.4BSD-Lite2
1.12.22.1
18-Sep-2008
wrstuden
Sync with wrstuden-revivesa-base-2.
1.13.6.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Indexes created Sat Oct 25 10:09:55 GMT 2025