cygwin changes:

* spawn.cc (child_info_spawn): Revert previous change.  Always set
	lpReserved2.
	* release/1.7.25: Change wording.
doc changes:
	* new-features.xml (ov-new1.7.25): Change wording.
This commit is contained in:
Christopher Faylor
2013-08-23 18:19:46 +00:00
parent 0d585a6e8c
commit 1560d3e281
5 changed files with 15 additions and 19 deletions

View File

@@ -554,17 +554,8 @@ child_info_spawn::worker (const char *prog_arg, const char *const *argv,
__stdout = in__stdout;
record_children ();
/* Don't propagate the child_info_spawn structure to the process if it
hasn't been recognized as a Cygwin executable. This also covers Cygwin
executables of a different target (32 vs. 64 bit). Native processes
usually still work, even if lpReserved2 contains garbage from their
point of view, but Cygwin processes of different bitsize will recognize
it as Cygwin info and get all excited about the differences. */
if (real_path.iscygexec ())
{
si.lpReserved2 = (LPBYTE) this;
si.cbReserved2 = sizeof (*this);
}
si.lpReserved2 = (LPBYTE) this;
si.cbReserved2 = sizeof (*this);
/* Depends on set call above.
Some file types might need extra effort in the parent after CreateProcess