CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/07/11 04:27:34
Modified files:
sbin/fdisk : misc.h part.c misc.c cmd.c
Log message:
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@
