From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4141 invoked by alias); 10 Dec 2012 20:11:03 -0000 Received: (qmail 4120 invoked by uid 22791); 10 Dec 2012 20:11:01 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Dec 2012 20:10:55 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MEU0050000XN100@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Mon, 10 Dec 2012 22:10:53 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MEU0059Z025FYA0@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Mon, 10 Dec 2012 22:10:53 +0200 (IST) Date: Mon, 10 Dec 2012 20:11:00 -0000 From: Eli Zaretskii Subject: Re: [RFA/mingw32] environment variables are case-insensitive on win32 In-reply-to: <20121210165727.GD16027@calimero.vinschen.de> To: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y5h5acsa.fsf@gnu.org> References: <20121209235344.GA12152@ednor.casa.cgf.cx> <20121210105115.GB15147@adacore.com> <20121210110128.GA12570@calimero.vinschen.de> <20121210134935.GL31477@adacore.com> <20121210152408.GB11967@calimero.vinschen.de> <20121210154231.GC17188@adacore.com> <20121210155752.GA16027@calimero.vinschen.de> <83a9tlc2jb.fsf@gnu.org> <20121210161710.GB16027@calimero.vinschen.de> <836249c1tl.fsf@gnu.org> <20121210165727.GD16027@calimero.vinschen.de> 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/msg00274.txt.bz2 > Date: Mon, 10 Dec 2012 17:57:27 +0100 > From: Corinna Vinschen > > On Dec 10 18:24, Eli Zaretskii wrote: > > > Date: Mon, 10 Dec 2012 17:17:10 +0100 > > > From: Corinna Vinschen > > > > > > > If some versions of Cygwin are case-insensitive in this context, while > > > > others aren't, then a run-time test of the kind coded by Jerome is > > > > _exactly_ the Right Thing. > > > > > > These old versions are not at all supported anymore. The right thing to > > > do in this case is update. > > > > Why is requiring users to upgrade more reasonable than half a dozen > > lines of simple code? > > Old, unsupported. What you do by adding these tests and special cases > is to complicate the tests and add potential bugs for no good reason. Again, we are talking about short and straightforward code. Nowhere near any danger of complicating things and adding bugs. Since when do we fear adding a bunch of string comparison lines?