Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-15 07:48:52 +0400
committerChristopher Faylor <me@cgf.cx>2002-07-15 07:48:52 +0400
commit56a42791a33e16ab52a02bc22be67390e6a9d34e (patch)
tree4904bb689512ce1df41644a21ca05f69b2eba34f /winsup/cygwin/dcrt0.cc
parent3d0ba393dfa79cb4a43a3a753ad64f5caaae37cb (diff)
* dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower case.
* exceptions.cc (error_start_init): Use the name derived from GetModuleName rather than myself->progname.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index da3b5d52f..26e70b22e 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -810,6 +810,8 @@ initial_env ()
{
char buf1[MAX_PATH + 1];
len = GetModuleFileName (NULL, buf1, MAX_PATH);
+ strlwr (buf1);
+ strlwr (buf);
char *p = strchr (buf, '=');
if (!p)
p = (char *) "gdb.exe -nw";