* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".

This commit is contained in:
Christopher Faylor 2005-09-15 00:31:42 +00:00
parent 59960f651d
commit fef80fce55
2 changed files with 22 additions and 19 deletions

View File

@ -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>
* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.

View File

@ -1047,7 +1047,6 @@ av::fixup (child_info_types chtype, const char *prog_arg, path_conv& real_path,
if (!buf)
goto err;
do
{
myfault efault;
if (efault.faulted ())
@ -1065,7 +1064,7 @@ av::fixup (child_info_types chtype, const char *prog_arg, path_conv& real_path,
UnmapViewOfFile (buf);
break;
}
} while (0);
}
debug_printf ("%s is possibly a script", (char *) real_path);