This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA/mingw32] environment variables are case-insensitive on win32


On 11/30/2012 04:28 PM, Jerome Guitton wrote:
> Eli Zaretskii (eliz@gnu.org):
> 
>>> Same result: case sensitive.
>>
>> Thanks, now we know.
> 
> Hmm. From what I read in Cygwin's documentation, the situation could
> actually be a bit more complex than that. There is at least an option
> (upcaseenv) that can have an impact on Cygwin's behavior. So a test at
> configure time would be useful.

You could do a little setenv/getenv test in gdb itself (and cache the
result), much like your little test you posted before, but built in.
Use some unlikely environment var name (__GDB_TEST_CASE_SENSITIVITY or
some such).

-- 
Pedro Alves


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