From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32221 invoked by alias); 24 May 2012 17:27:54 -0000 Received: (qmail 32202 invoked by uid 22791); 24 May 2012 17:27:53 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 May 2012 17:27:39 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 766E729008B; Thu, 24 May 2012 19:27:44 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pv-y+1KSffzp; Thu, 24 May 2012 19:27:44 +0200 (CEST) Received: from province.act-europe.fr (province.act-europe.fr [10.10.0.214]) by mel.act-europe.fr (Postfix) with ESMTP id 64464290006; Thu, 24 May 2012 19:27:44 +0200 (CEST) Received: by province.act-europe.fr (Postfix, from userid 560) id 78BBA164882; Thu, 24 May 2012 19:27:38 +0200 (CEST) Date: Thu, 24 May 2012 17:27:00 -0000 From: Jerome Guitton To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [mingw32] environment variables are case-insensitive on win32 Message-ID: <20120524172738.GZ51051@adacore.com> References: <1337878161-20057-1-git-send-email-guitton@adacore.com> <4FBE6DBC.5050408@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FBE6DBC.5050408@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) 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-05/txt/msg00937.txt.bz2 Pedro Alves (palves@redhat.com): > I think you meant: > > #if defined(_WIN32) && !defined(__CYGWIN__) Definitely :) Thanks for catching that. > > +#define env_var_name_ncmp(a, b, length) strnicmp (a, b, length) > > > We use strncasecmp everywhere else. OK.