This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: environment variable name converted to upper case


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]