Date: Tue, 3 Aug 2010 16:02:57 +0000 (UTC) From: Ulrich Spoerlein <uqs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/games/grdc grdc.c Message-ID: <201008031603.o73G3KuG005484@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
uqs 2010-08-03 16:02:57 UTC
FreeBSD src repository
Modified files:
games/grdc grdc.c
Log:
SVN rev 210809 on 2010-08-03 16:02:57Z by uqs
grdc(6): Partial backout of r210755
The previous revision was flawed in numerous ways:
- the if condition would depend on garbage stack values
- grdc(6) would loop n times, not n seconds. This only makes
a difference if it takes more than 1 second to recalculate/redraw
the display.
- style(9) violations
The following change adds argument checking and tracks the elapsed time
between loops explicitly and will exit after roughly n seconds.
While here sort headers and remove bogus #ifndef
Submitted by: bde
MFC after: 2 weeks
Revision Changes Path
1.16 +24 -18 src/games/grdc/grdc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008031603.o73G3KuG005484>
