delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/22/10:47:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 22 Aug 2004 10:46:52 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder AT niaid DOT nih DOT gov>
Cc: cygwin AT cygwin DOT com
Subject: Re: environment variable name converted to upper case
Message-ID: <20040822144651.GA3391@coe.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder AT niaid DOT nih DOT gov>, cygwin AT cygwin DOT com
References: <F76C9B2DA2FC4C4CA0A18E288BBCBCF708217C86 AT nihexchange24 DOT nih DOT gov>
Mime-Version: 1.0
In-Reply-To: <F76C9B2DA2FC4C4CA0A18E288BBCBCF708217C86@nihexchange24.nih.gov>
User-Agent: Mutt/1.4.1i

On Sat, Aug 21, 2004 at 01:06:50PM -0400, Buchbinder, Barry (NIH/NIAID) wrote:
>To expand on what Chris wrote, this is caused by the fact that in
>command.com (but not cmd.exe as supplied by XP - I don't know about
>earlier versions of cmd.exe) all user-setable Windows environmental
>variable are uppercase.

No.  Cygwin goes out of its way to change environment variables to upper
case.  Environment variables in windows, on NT+ at least, can be mixed
case.  Unfortunately, sometimes you find things like "Path" instead of
"PATH" so Cygwin needs to rectify that.

To repeat, translating environment variables to uppercase is something
that *cygwin* does.  Check out environ.cc for more information.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019