diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-08-19 12:41:40 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-08-19 12:41:40 +0400 |
commit | 67986ac4a4bd6fc07534310fb96bcca9765dd46f (patch) | |
tree | aeac3023e9424e87c0713592c20aa77cb0d23d64 /winsup/cygwin/dcrt0.cc | |
parent | be2b7c56841e142e71c133312f284b7a3fa6bf38 (diff) |
* autoload.cc: Replace WNet[...]A with WNet[...]W imports.
* dcrt0.cc (initial_env): Drop strlwr calls. Call strcasestr instead.
* fhandler_netdrive.cc: Throughout, convert to calling WNet UNICODE
functions. Use tmp_pathbuf rather than alloca. Replace call to
strlwr with call to RtlDowncaseUnicodeString.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 58068efef..5150107e8 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -517,14 +517,12 @@ initial_env () { char buf1[NT_MAX_PATH]; GetModuleFileName (NULL, buf1, NT_MAX_PATH); - strlwr (buf1); - strlwr (buf); char *p = strpbrk (buf, ":="); if (!p) p = (char *) "gdb.exe -nw"; else *p++ = '\0'; - if (strstr (buf1, buf)) + if (strcasestr (buf1, buf)) { error_start_init (p); jit_debug = true; |