(renv_arr): New static array to keep track of environment variables which have to be always uppercased. (idx_arr): Ditto. (start_at): Ditto. (ucreqenv): New function to uppercase only the environment variables from renv_arr. (parse_thing): Add "upcaseenv" setting. (environ_init): Parse $CYGWIN before doing anything else. Call ucreqenv instead of ucenv if CYGWIN=noupcaseenv is set.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cygwin documentation is available on the net at http://cygwin.com You might especially be interested in http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin