* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".
This commit is contained in:
parent
59960f651d
commit
fef80fce55
|
@ -1,3 +1,7 @@
|
||||||
|
2005-09-14 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".
|
||||||
|
|
||||||
2005-09-14 Christopher Faylor <cgf@timesys.com>
|
2005-09-14 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
|
* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
|
||||||
|
|
|
@ -1047,7 +1047,6 @@ av::fixup (child_info_types chtype, const char *prog_arg, path_conv& real_path,
|
||||||
if (!buf)
|
if (!buf)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
do
|
|
||||||
{
|
{
|
||||||
myfault efault;
|
myfault efault;
|
||||||
if (efault.faulted ())
|
if (efault.faulted ())
|
||||||
|
@ -1065,7 +1064,7 @@ av::fixup (child_info_types chtype, const char *prog_arg, path_conv& real_path,
|
||||||
UnmapViewOfFile (buf);
|
UnmapViewOfFile (buf);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} while (0);
|
}
|
||||||
|
|
||||||
debug_printf ("%s is possibly a script", (char *) real_path);
|
debug_printf ("%s is possibly a script", (char *) real_path);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue