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


Pierre Muller (pierre.muller@ics-cnrs.unistra.fr):

> Short extract of running testenv inside mingw GDB
> after having set the same env variables
> env#52 is TEMP=C:/Users/Pierre/AppData/Local/Temp
> env#53 is TERM=cygwin
> env#54 is test1=lower
> env#55 is Test1=Mixed
> env#56 is TEST1=UPPER
> env#57 is TMP=C:/Users/Pierre/AppData/Local/Temp
> env#58 is USERDOMAIN=E6510-Muller

Strange... I can only say that I am not having the same
behavior. Windows documentation clearly states that variable names are
not case-sensitive (so that "you can combine uppercase and lowercase
letters in your variable names to make your code more readable", as
they say).

Now, I *guess* that my patch would not change the behavior of GDB in
your case, as the run-time check would return "case sensitive".
That's a guess... Could you try it?


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