* strace.cc (create_child): Don't convert a path from cygwin format unless it
has a slash.
This commit is contained in:
parent
238291e14f
commit
82f123e5c6
|
@ -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>
|
2007-07-09 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* strace.cc (usage): Add missing description for -q.
|
* strace.cc (usage): Add missing description for -q.
|
||||||
|
|
|
@ -313,7 +313,8 @@ create_child (char **argv)
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
DWORD flags;
|
DWORD flags;
|
||||||
|
|
||||||
*argv = cygpath (*argv, NULL);
|
if (strchr (*argv, '/'))
|
||||||
|
*argv = cygpath (*argv, NULL);
|
||||||
memset (&si, 0, sizeof (si));
|
memset (&si, 0, sizeof (si));
|
||||||
si.cb = sizeof (si);
|
si.cb = sizeof (si);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue