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: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org, Jerome Guitton <guitton at adacore dot com>, Eli Zaretskii <eliz at gnu dot org>
- Date: Sun, 9 Dec 2012 18:53:44 -0500
- Subject: Re: [RFA/mingw32] environment variables are case-insensitive on win32
- References: <1354282597-22691-1-git-send-email-guitton@adacore.com> <834nk7urs0.fsf@gnu.org> <20121130140844.GF2768@adacore.com> <83y5hjt8ll.fsf@gnu.org> <20121130153401.GH2768@adacore.com> <83wqx3t6r9.fsf@gnu.org> <20121130162852.GD32262@adacore.com> <50B902D0.6060809@redhat.com> <20121203113147.GB12055@adacore.com>
On Mon, Dec 03, 2012 at 12:31:47PM +0100, Jerome Guitton wrote:
>Pedro Alves (palves@redhat.com):
>
>> 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).
>
>OK; thank you. I'll implement that.
I wasn't entirely sure what was decided for Cygwin but Cygwin
environment variables are meant, like Linux, to be case sensitive.
Please keep that in mind when implementing this. The CYGWIN=upcaseenv
is a special case and not something that you should have to worry about.
cgf