svn commit: trunk/busybox/networking

Denys Vlasenko vda.linux at googlemail.com
Mon Apr 21 19:52:58 UTC 2008


On Monday 21 April 2008 15:14, walter harms wrote:
> why not using sizeof(ifr.ifr_name) ? It would remove the need for IFNAMSIZ

Well, after I was bitten a few times with bugs where array
was later changed into pointer and sizeof(v) become 4
without anyone noticing, I'm careful with s/CONST/sizeof(v)/

--
vda



More information about the busybox mailing list