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>2011-11-24 01:58:43 +0400
committerChristopher Faylor <me@cgf.cx>2011-11-24 01:58:43 +0400
commit5f38ec468115a6ddf2c458f2b8f9c4abfd8b0359 (patch)
tree02842aecf3c981e701c99190a13b333f73c2f8b7 /winsup/cygwin/spawn.cc
parent9f65451e3e9b5a3a5c7c35343daee24a09d1d3a2 (diff)
* pipe.cc (fhandler_pipe::create): Avoid derefencing a NULL pointer.
* child_info.h (child_info): Reorganize some elements so that the ones which are initialized in a constructor are all together. * sigproc.cc (child_info::child_info): Initialize values via the constructor rather than as C statements and make sure that flags is set to zero initially. * spawn.cc (child_info_spawn::worker): Use iscygwin() test for determining when to send strace info since it is more foolproof than checking the suspend state.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r--winsup/cygwin/spawn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
index 25072a886..4e93b1888 100644
--- a/winsup/cygwin/spawn.cc
+++ b/winsup/cygwin/spawn.cc
@@ -692,7 +692,7 @@ loop:
goto out;
}
- if (!(c_flags & CREATE_SUSPENDED))
+ if (iscygwin ())
strace.write_childpid (*this, pi.dwProcessId);
/* Fixup the parent data structures if needed and resume the child's