* spawn.cc (spawn_guts): Move ch.set() call back to where it was supposed to
be.
This commit is contained in:
parent
bee0f85727
commit
853f84e53c
|
@ -1,3 +1,8 @@
|
||||||
|
2006-04-13 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* spawn.cc (spawn_guts): Move ch.set() call back to where it was
|
||||||
|
supposed to be.
|
||||||
|
|
||||||
2006-04-13 Corinna Vinschen <corinna@vinschen.de>
|
2006-04-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* sysconf.cc (sysconf): Add _SC_THREADS, _SC_THREAD_ATTR_STACKSIZE,
|
* sysconf.cc (sysconf): Add _SC_THREADS, _SC_THREAD_ATTR_STACKSIZE,
|
||||||
|
|
|
@ -462,7 +462,6 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
||||||
|
|
||||||
cygheap->fdtab.set_file_pointers_for_exec ();
|
cygheap->fdtab.set_file_pointers_for_exec ();
|
||||||
|
|
||||||
ch.set (chtype, real_path.iscygexec ());
|
|
||||||
moreinfo->envp = build_env (envp, envblock, moreinfo->envc, real_path.iscygexec ());
|
moreinfo->envp = build_env (envp, envblock, moreinfo->envc, real_path.iscygexec ());
|
||||||
if (!moreinfo->envp || !envblock)
|
if (!moreinfo->envp || !envblock)
|
||||||
{
|
{
|
||||||
|
@ -470,6 +469,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
||||||
res = -1;
|
res = -1;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
ch.set (chtype, real_path.iscygexec ());
|
||||||
ch.moreinfo = moreinfo;
|
ch.moreinfo = moreinfo;
|
||||||
|
|
||||||
si.lpReserved2 = (LPBYTE) &ch;
|
si.lpReserved2 = (LPBYTE) &ch;
|
||||||
|
|
Loading…
Reference in New Issue