mount -a remounts tmpfs entries: bug or feature?
Peter Korsgaard
jacmet at uclibc.org
Wed Dec 10 19:57:41 UTC 2008
>>>>> "Jim" == Cathey, Jim <jcathey at ciena.com> writes:
Hi,
Jim> If anyone wants my opinion, I greatly dislike using if(FOO) with
Jim> the expectation that the compiler will eliminate the code. I
Jim> expect if() to be associated only with run-time decisions,
Jim> just as #if is with compile-time decisions. In fact, if cc
Jim> _were_ able to eliminate great gobs of code I'd even expect a
Jim> warning to that effect, as it is likely that that is NOT what
Jim> I as author intended.
The big advantage of if (FOO) instead of #if FOO is that you always
get to compile test all configurations (even if the code it later
eliminated by the compiled).
That's a pretty big deal as the number of configuration settings go
up.
But sure, it isn't a black/white thing.
--
Bye, Peter Korsgaard
More information about the busybox
mailing list