diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2012-07-11 10:27:35 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2012-07-11 10:27:35 +0000 |
commit | e5eefcc72799775dae197923a524bf802adf5d9e (patch) | |
tree | 831eb861d12d5479bfd4f94561826585536e7186 /games/trek/win.c | |
parent | a860b51fe2eb6a410556373b230b0bd6c8535f87 (diff) |
Simplify guts and calling of getuint(). Eliminate a useless 'help'
capablity by using help text as regular prompt for 'size' and
'offset'. Try to detect and handle more overflow/underflow conditions
in getuint() and ensure returned value is always within requested
bounds. Handle zero-length partitions by treating them as UNUSED.
tested & ok halex@
Diffstat (limited to 'games/trek/win.c')
0 files changed, 0 insertions, 0 deletions