[patch] various bugs and strncpy abuse followup

Rob Landley rob at landley.net
Tue Jun 13 17:15:35 UTC 2006


On Saturday 10 June 2006 7:48 am, roberto foglietta wrote:
>  One day somebody changes initialization of dest_stat.st_mode != 0?
>  It would happen/makes sense? If yes the patch should be accepted (IMHO).

So add a comment to the the lstat that we're depending on dest_stat.st_mode to 
already be initialized to zero.  Don't make the resulting binary bigger with 
an unnecessary test.

>  Cheers,

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list