diff options
author | uqs <uqs@FreeBSD.org> | 2010-08-03 16:02:57 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2010-08-03 16:02:57 +0000 |
commit | 5a360d60e9d1e62ae49d5ef46f3cb97bfd1644de (patch) | |
tree | 8b10f14f4628ad9740552c55d268d7c5d34f1876 /games/pom | |
parent | c5df0ad3b83907de341d300f8bcc00054262fe57 (diff) | |
download | FreeBSD-src-5a360d60e9d1e62ae49d5ef46f3cb97bfd1644de.zip FreeBSD-src-5a360d60e9d1e62ae49d5ef46f3cb97bfd1644de.tar.gz |
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
Diffstat (limited to 'games/pom')
0 files changed, 0 insertions, 0 deletions