mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
* 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>
|
||||
|
||||
* 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 ();
|
||||
|
||||
ch.set (chtype, real_path.iscygexec ());
|
||||
moreinfo->envp = build_env (envp, envblock, moreinfo->envc, real_path.iscygexec ());
|
||||
if (!moreinfo->envp || !envblock)
|
||||
{
|
||||
@ -470,6 +469,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
||||
res = -1;
|
||||
goto out;
|
||||
}
|
||||
ch.set (chtype, real_path.iscygexec ());
|
||||
ch.moreinfo = moreinfo;
|
||||
|
||||
si.lpReserved2 = (LPBYTE) &ch;
|
||||
|
Loading…
x
Reference in New Issue
Block a user