cvs commit: src/sys/geom/vinum geom_vinum_rename.c

Nate Lawson nate at root.org
Sun Nov 20 21:46:17 GMT 2005


Lukas Ertl wrote:
> le          2005-11-20 12:12:31 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/geom/vinum       geom_vinum_rename.c 
>   Log:
>   Always declare variables at the start of the function.
>   Don't allocate potentially large variables on the stack.
>   Check strsep() return values when the string comes from userland.
>   Shorten variable names for lucidity's sake.
>   
>   most of the stuff:
>   Pointed out by:    njl@
>   
>   Revision  Changes    Path
>   1.2       +110 -47   src/sys/geom/vinum/geom_vinum_rename.c

Excellent, thank you!

-- 
Nate


More information about the cvs-src mailing list