From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7187 invoked by alias); 9 Dec 2012 23:53:58 -0000 Received: (qmail 7178 invoked by uid 22791); 9 Dec 2012 23:53:57 -0000 X-SWARE-Spam-Status: No, hits=-50.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mho-04-ewr.mailhop.org (HELO mho-02-ewr.mailhop.org) (204.13.248.74) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Dec 2012 23:53:49 +0000 Received: from pool-173-76-51-117.bstnma.fios.verizon.net ([173.76.51.117] helo=cgf.cx) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1Thqgs-000CP5-Nc; Sun, 09 Dec 2012 23:53:46 +0000 Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 0168813C076; Sun, 9 Dec 2012 18:53:44 -0500 (EST) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19x+jURoGiYJN3xn/HUCMcW Date: Sun, 09 Dec 2012 23:53:00 -0000 From: Christopher Faylor To: Pedro Alves , gdb-patches@sourceware.org, Jerome Guitton , Eli Zaretskii Subject: Re: [RFA/mingw32] environment variables are case-insensitive on win32 Message-ID: <20121209235344.GA12152@ednor.casa.cgf.cx> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org, Jerome Guitton , Eli Zaretskii 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121203113147.GB12055@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-12/txt/msg00225.txt.bz2 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