* environ.cc (environ_init): Reinstantiate on-the-fly CYGWIN variable
test and call to parse_options if found.
This commit is contained in:
parent
b9a0725042
commit
d51a9c25bd
|
@ -1,3 +1,8 @@
|
|||
2011-07-04 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* environ.cc (environ_init): Reinstantiate on-the-fly CYGWIN variable
|
||||
test and call to parse_options if found.
|
||||
|
||||
2011-07-04 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||
|
||||
* fhandler.cc (fhandler_base::open_with_arch): Call close_on_exec last
|
||||
|
|
|
@ -793,6 +793,8 @@ environ_init (char **envp, int envc)
|
|||
ucenv (newp, eq); /* uppercase env vars which need it */
|
||||
if (*newp == 'T' && strncmp (newp, "TERM=", 5) == 0)
|
||||
sawTERM = 1;
|
||||
else if (*newp == 'C' && strncmp (newp, "CYGWIN=", 7) == 0)
|
||||
parse_options (newp + 7);
|
||||
if (*eq && conv_start_chars[(unsigned char) envp[i][0]])
|
||||
posify (envp + i, *++eq ? eq : --eq, tmpbuf);
|
||||
debug_printf ("%p: %s", envp[i], envp[i]);
|
||||
|
|
Loading…
Reference in New Issue