From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19646 invoked by alias); 10 Dec 2012 15:24:30 -0000 Received: (qmail 19547 invoked by uid 22791); 10 Dec 2012 15:24:17 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Mon, 10 Dec 2012 15:24:10 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 2F2326A0684; Mon, 10 Dec 2012 16:24:08 +0100 (CET) Date: Mon, 10 Dec 2012 15:24:00 -0000 From: Corinna Vinschen To: gdb-patches@sourceware.org Subject: Re: [RFA/mingw32] environment variables are case-insensitive on win32 Message-ID: <20121210152408.GB11967@calimero.vinschen.de> Reply-To: gdb-patches@sourceware.org Mail-Followup-To: gdb-patches@sourceware.org References: <83y5hjt8ll.fsf@gnu.org> <20121130153401.GH2768@adacore.com> <83wqx3t6r9.fsf@gnu.org> <20121130162852.GD32262@adacore.com> <50B902D0.6060809@redhat.com> <20121203113147.GB12055@adacore.com> <20121209235344.GA12152@ednor.casa.cgf.cx> <20121210105115.GB15147@adacore.com> <20121210110128.GA12570@calimero.vinschen.de> <20121210134935.GL31477@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20121210134935.GL31477@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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/msg00240.txt.bz2 On Dec 10 17:49, Joel Brobecker wrote: > > No, it's not. The Windows environment is NOT case insensitive, it's > > case-preserving. That's a big difference. A process inherits the > > environment in exactly the same case as has been used by its parent. > > I would like to pause this discussion about cygwin for a second, > here: I am concerned that we are slowly allowing ourselves to > hold Jerome's patch, which works on MinGW, because it does not fix > the problem on cygwin. > > Jerome is happy to try to help if it's not too time consuming, > but it is starting to look like things are far from simple in > this case. > > This is why I propose we do 2 things: > > 1. Decide whether we want GDB to match environment variable names > using case-sensitive or case-insensentive functions on cygwin. > Right now, it's case-sensitive. Cygwin is not Windows. Cygwin is a UNIX-like system like Linux, Solaris, OpenBSD, etc. The question you should ask is this: Would you like to match environment variable names case-insensitive on Linux, Solaris, OpenBSD? If the answer is "no", the answer for Cygwin is "no", too. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat