delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/22/11:32:30

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 22 Aug 2004 11:32:20 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder AT niaid DOT nih DOT gov>
Subject: Re: environment variable name converted to upper case
In-Reply-To: <20040822144651.GA3391@coe.casa.cgf.cx>
Message-ID: <Pine.GSO.4.61.0408221127400.28054@slinky.cs.nyu.edu>
References: <F76C9B2DA2FC4C4CA0A18E288BBCBCF708217C86 AT nihexchange24 DOT nih DOT gov> <20040822144651 DOT GA3391 AT coe DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Sun, 22 Aug 2004, Christopher Faylor wrote:

> 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

Umm, yes, I just found that call to ucenv().  I can't believe I missed it 
earlier -- and I did look through environ.cc before answering.  Apologies 
for confusing the issue.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
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