>> A Macro would waste some space for duplicate string constants, I would
>> rather vote for something like
>> 
>> const char whiteout_prefix[] = ".wh.";
>
>Contemporary compilers can optimize string constants and they will not
>waste spaces. But I agree with you. Yours is better.

The only kernel compilers are gcc and icc. At least one of them merges 
read-only strings unless -fwritable-strings is in effect.




Jan Engelhardt
-- 
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to