This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Avoid collisions between parallel installations of Cygwin


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.

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]