* spawn.cc (child_info_spawn::worker): Eliminate wascygexec.
This commit is contained in:
parent
92d098c9ca
commit
9e8cf6ebbd
@ -1,3 +1,7 @@
|
|||||||
|
2013-06-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* spawn.cc (child_info_spawn::worker): Eliminate wascygexec.
|
||||||
|
|
||||||
2013-06-18 Christopher Faylor <me.cygwin2013@cgf.cx>
|
2013-06-18 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
* dcrt0.cc (child_info_fork::alloc_stack): Don't subtract 4096 from
|
* dcrt0.cc (child_info_fork::alloc_stack): Don't subtract 4096 from
|
||||||
|
@ -327,7 +327,6 @@ child_info_spawn::worker (const char *prog_arg, const char *const *argv,
|
|||||||
tmp_pathbuf tp;
|
tmp_pathbuf tp;
|
||||||
PWCHAR runpath = tp.w_get ();
|
PWCHAR runpath = tp.w_get ();
|
||||||
int c_flags;
|
int c_flags;
|
||||||
bool wascygexec;
|
|
||||||
|
|
||||||
bool null_app_name = false;
|
bool null_app_name = false;
|
||||||
STARTUPINFOW si = {};
|
STARTUPINFOW si = {};
|
||||||
@ -371,7 +370,6 @@ child_info_spawn::worker (const char *prog_arg, const char *const *argv,
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
wascygexec = real_path.iscygexec ();
|
|
||||||
res = newargv.fixup (prog_arg, real_path, ext, p_type_exec);
|
res = newargv.fixup (prog_arg, real_path, ext, p_type_exec);
|
||||||
|
|
||||||
if (res)
|
if (res)
|
||||||
@ -406,7 +404,7 @@ child_info_spawn::worker (const char *prog_arg, const char *const *argv,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (wascygexec)
|
if (real_path.iscygexec ())
|
||||||
newargv.dup_all ();
|
newargv.dup_all ();
|
||||||
else if (!one_line.fromargv (newargv, real_path.get_win32 (),
|
else if (!one_line.fromargv (newargv, real_path.get_win32 (),
|
||||||
real_path.iscygexec ()))
|
real_path.iscygexec ()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user