* 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.
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user