NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/42840: xstr obfuscation not needed any more?



On Thu, Feb 18, 2010 at 12:45:00PM +0000, martin%NetBSD.org@localhost wrote:
> >Number:         42840
> >Category:       toolchain
> >Synopsis:       xstr obfuscation not needed any more?
...
> While looking at some sysinst code I came around this strange line:
> 
>           { PART_SWAP,    { 's', 'w', 'a', 'p', '\0' },

christos made those changes relatively recently (ie in the last few years).
IIRC it was something to do with some tool that scanned the source file
for "xxxx" and tried to merge them together - and it got confused by
array initialisers.

Given that ld(1) will merge strings these days I'm not at all sure of
the justification at all!

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index