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

Eli Zaretskii
2012-12-10T16:26:58Z

> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Cc: <gdb-patches@sourceware.org>
> Date: Mon, 10 Dec 2012 17:09:37 +0100
>
> (gdb) set Test1=Mixed
> No symbol "Test1" in current context.
> (gdb) set env Test1=Mixed
> (gdb) set env test1=lower
> (gdb) set env TEST1=UPPER
> (gdb) set prompt top>
> top> r
> Starting program: e:\pas\fpc-2.6.0\bin\i386-Win32\gdbpurepython.exe
> ... Some output suppressed
> (gdb) [New Thread 5920.0xb04]
> [New Thread 5920.0x1588]
> show env
> ALLUSERSPROFILE=C:\ProgramData
> ... More output suppressed
> PROMPT=$P$G
> PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
> PUBLIC=C:\Users\Public
> RoxioCentral=C:\Program Files (x86)\Common Files\Roxio Shared\10.0\Roxio
> Central36\
> SESSIONNAME=Console
> SystemDrive=C:
> SystemRoot=C:\Windows
> TEMP=C:\Users\Pierre\AppData\Local\Temp
> test1=lower
> Test1=Mixed
> TEST1=UPPER
> ... More output suppressed

You _are_ aware that "show env" is a GDB command, right? What you
need to do is run some Windows program after pushing these variables
into the environment, and then see what that problem gets as
environment.