Avoid collisions between parallel installations of Cygwin

Dave Korn dave.korn.cygwin@googlemail.com
Wed Oct 21 16:53:00 GMT 2009

Corinna Vinschen wrote:
> On Oct 21 17:42, Dave Korn wrote:
>> Corinna Vinschen wrote:
>>> In theory, if we use a specific
>>> layout of the datastructure using unambiguous magic entry strings, there
>>> wouldn't be a reason to use the .rsrc section at all.  The DLL could
>>> simply read the values from a global datastructure in the .data section.
>>   Hilarity will result the first time someone forgets and uses one of those
>> magic strings in a strace printf because they wanted to dump the value of the
>> setting :)
> Why should somebody use the magic string in strace printf?

  I send in plain-text format so I couldn't use <blink><H5><font color="red">
tags for the smiley!

> It's
> supposed to be there only for the benefit of the external tool
> trying to access the properties settings.  The string can be as
> weird as you like, say
>   qwxcfu!q34ryxifgawxfyiowgxfwyixfgwfoqwexgrffuygfwfyxgywwfwqexfwe

  Yes, of course.  I could easily imagine someone accidentally writing
"strace_printf ("CYGOPTS parsed successfully")" or similar, that's all.


More information about the Cygwin-developers mailing list