[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: svn commit: trunk/busybox/networking/libiproute
From:       Bernhard Fischer <rep.dot.nop () gmail ! com>
Date:       2007-01-28 11:13:33
Message-ID: 20070128111333.GO28221 () aon ! at
[Download RAW message or body]

On Sun, Jan 28, 2007 at 02:08:43AM +0100, Denis Vlasenko wrote:
>On Sunday 28 January 2007 01:20, aldot@busybox.net wrote:
>> -	static const char * const ip_rule_commands[] =
>> +	const char * const ip_rule_commands[] =
>>  		{"add", "delete", "list", "show", 0};
>
>Why? Although sufficiently clever compiler can notice
>that ip_rule_commands[] is an array of constants
>and therefore can be made "static" behind the scenes,
>I do not know which version of gcc started to do it.
>
>Let people with gcc's older than that have smaller code too

Fair enough. Reverting that hunk. Thanks for the heads-up.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic