Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com cc: "Buchbinder, Barry (NIH/NIAID)" Subject: Re: environment variable name converted to upper case In-Reply-To: <20040822144651.GA3391@coe.casa.cgf.cx> Message-ID: References: <20040822144651 DOT GA3391 AT coe DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/