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?



The following reply was made to PR toolchain/42840; it has been noted by GNATS.

From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: toolchain/42840: xstr obfuscation not needed any more?
Date: Fri, 19 Feb 2010 21:19:24 +0000

 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