This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/mingw32] environment variables are case-insensitive on win32
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jerome Guitton <guitton at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 30 Nov 2012 15:47:11 +0200
- Subject: Re: [RFA/mingw32] environment variables are case-insensitive on win32
- References: <1354282597-22691-1-git-send-email-guitton@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Jerome Guitton <guitton@adacore.com>
> Cc: Jerome Guitton <guitton@adacore.com>
> Date: Fri, 30 Nov 2012 14:36:37 +0100
>
> A patch that I sent a few months ago, I think, but never got in:
> environment variables are case-insensitive on windows, this patch would
> take that into account.
Thanks. But why did you exclude Cygwin?
> It would have been nice to have a configure test for that, using
> setenv/getenv to detect the case insensitivity. Unfortunately we
> don't have setenv on win32. So I ended up using _WIN32 just like we do
> to handle the .exe extension. Any other idea?
Use putenv?