]> sourceware.org Git - newlib-cygwin.git/commitdiff
* strace.cc (create_child): Don't convert a path from cygwin format unless it
authorChristopher Faylor <me@cgf.cx>
Mon, 23 Jul 2007 21:03:59 +0000 (21:03 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 23 Jul 2007 21:03:59 +0000 (21:03 +0000)
has a slash.

winsup/utils/ChangeLog
winsup/utils/strace.cc

index 4d39e036f3b80f6644230f368b7eae2506af5e17..48f9ebab2ded351836f104587e2881e7ee0769fa 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-23  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * strace.cc (create_child): Don't convert a path from cygwin format
+       unless it has a slash.
+
 2007-07-09  Christopher Faylor  <me+cygwin@cgf.cx>
 
        * strace.cc (usage): Add missing description for -q.
index 7281b3e41bbb0fbae74b1fbeb8d11e6835dbf622..383326416324909d202b933642bdb1fc8f5b2dd6 100644 (file)
@@ -313,7 +313,8 @@ create_child (char **argv)
   BOOL ret;
   DWORD flags;
 
-  *argv = cygpath (*argv, NULL);
+  if (strchr (*argv, '/'))
+      *argv = cygpath (*argv, NULL);
   memset (&si, 0, sizeof (si));
   si.cb = sizeof (si);
 
This page took 0.031967 seconds and 5 git commands to generate.