Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-04-13 20:11:06 +0400
committerChristopher Faylor <me@cgf.cx>2006-04-13 20:11:06 +0400
commit853f84e53c50518c3e832a9b635951f721591388 (patch)
tree69724c31771b47ace9a1803f8b96d27a5fc72c51
parentbee0f85727aba2ea06f22a00e5286922dc621c29 (diff)
* spawn.cc (spawn_guts): Move ch.set() call back to where it was supposed to
be.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/spawn.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 6512b56f9..cfc1ebd50 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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,
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
index a39145ed8..94ead62f9 100644
--- a/winsup/cygwin/spawn.cc
+++ b/winsup/cygwin/spawn.cc
@@ -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;