This is the mail archive of the cygwin@cygwin.com 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: Enviroment always uppercased; Help me, please


At 12:46 PM 2/27/2002, Markus K. E. Kommant wrote:
>Seems to be a cygwin "feature" that the environment will be uppercased, when
>called by a none cygwin program.
>
>When puting a variable "gar=1" into the environment and call a program
>compiled with gcc and cygwin, the result, when printing the environment,
>will be
>GAR=1
>
>ups, gar != GAR, especially in a POSIX environment!
>
>When compiling the program with MS Developer Studio C++ the printed result
>will be
>gar=1
>and that's okay.
>
>Is there a trick to switch to a "POSIX" mode in cygwin and leave the case of
>the environment unchanged?



Check the email archives if you want details.  You'll have to go waaay
back. :-)  The change was made for better interoperability of Cygwin and 
DOS/'Doze but I don't recall the details off hand.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]