* environ.cc (environ_init): Avoid evaluating $CYGWIN twice.
This commit is contained in:
parent
1dc1ccd4ae
commit
c6b7418c89
@ -1,3 +1,7 @@
|
||||
2008-11-05 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* environ.cc (environ_init): Avoid evaluating $CYGWIN twice.
|
||||
|
||||
2008-10-23 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* wincap.cc (all wincaps): Store in .cygwin_dll_common section same as
|
||||
|
@ -792,8 +792,6 @@ environ_init (char **envp, int envc)
|
||||
ucenv (newp, eq);
|
||||
if (*newp == 'T' && strncmp (newp, "TERM=", 5) == 0)
|
||||
sawTERM = 1;
|
||||
if (*newp == 'C' && strncmp (newp, "CYGWIN=", sizeof ("CYGWIN=") - 1) == 0)
|
||||
parse_options (newp + sizeof ("CYGWIN=") - 1);
|
||||
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
Block a user