* strace.cc (create_child): Don't convert a path from cygwin format unless it

has a slash.
This commit is contained in:
Christopher Faylor 2007-07-23 21:03:59 +00:00
parent 238291e14f
commit 82f123e5c6
2 changed files with 7 additions and 1 deletions

View 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.

View 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);