[RFA/mingw32] environment variables are case-insensitive on win32

Jerome Guitton guitton@adacore.com
Mon Dec 10 15:35:00 GMT 2012


Joel Brobecker (brobecker@adacore.com):

>   1. Decide whether we want GDB to match environment variable names
>      using case-sensitive or case-insensentive functions on cygwin.
>      Right now, it's case-sensitive. FWIW, we are offering to change
>      that behavior, and it seems more user-friencly at the moment,
>      but either choice is fine with me. If no concensus can be reached
>      on this, then we'll revert to the original behavior.
> 
>   2. Commit Jerome's patch which implements the decision from (1),
>      letting a more elaborate handling of environment variables
>      as a followup patch for someone more involved in cygwin than
>      we are.

At this point my feeling is that there is something to clarify for
Cygwin; the symptom being that the new test I submitted for
testenv.exp fails on this platform. But for the moment I'd be inclined
to let Cygwin's situation unchanged and let an expert handle it. The patch
that I would submit would fix mingw32 only. So I guess that would be (2).

The corresponding patch is in attachment.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: environ.c.diff
Type: text/x-diff
Size: 2483 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20121210/86b3809e/attachment.bin>


More information about the Gdb-patches mailing list