environment variable name converted to upper case

Igor Pechtchanski pechtcha@cs.nyu.edu
Sun Aug 22 17:16:00 GMT 2004


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list