[BusyBox] [PATCH] fix arg checking in addgroup.c and size optimization

Glenn McGrath bug1 at iinet.net.au
Tue Sep 14 16:10:10 UTC 2004


On Sat, 4 Sep 2004 14:20:48 +0000
Tito <farmatito at tiscali.it> wrote:

> Hi, 
> This little patch fixes commandline arg checking 
> in addgroup.
> It makes shure that the arg supplied with the -g switch is a number
> and errors out to usage message if it is not.
> There is also a little size optimization.

Ive checked most of it in, i left the user variable initialisation out,
it didnt save any space and there is no point assigning a value to it
twice.


Glenn



More information about the busybox mailing list