aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-10 14:41:50 +0000
committerChristopher Faylor <me@cgf.cx>2005-03-10 14:41:50 +0000
commit491e84c6014b31a01afa612f3966f500c80974df (patch)
tree54459c4f9df7a74a08ef550901aac76eadd31bb7 /winsup/cygwin/dcrt0.cc
parent35b4534efe191abcabe490dc48b07e279a1a79a1 (diff)
downloadnewlib-491e84c6014b31a01afa612f3966f500c80974df.zip
newlib-491e84c6014b31a01afa612f3966f500c80974df.tar.gz
newlib-491e84c6014b31a01afa612f3966f500c80974df.tar.bz2
* autoload.cc (LoadDllprime): Scrap use of .linkonce and just use an ifdef
guard to load .foo_init into data segment. * dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG separator for consistency.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index df639c2..524b300 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -552,7 +552,7 @@ initial_env ()
len = GetModuleFileName (NULL, buf1, CYG_MAX_PATH);
strlwr (buf1);
strlwr (buf);
- char *p = strchr (buf, ':');
+ char *p = strpbrk (buf, ":=");
if (!p)
p = (char *) "gdb.exe -nw";
else