OSDN Git Service

* pipe.cc (fhandler_pipe::create): Avoid derefencing a NULL pointer.
authorcgf <cgf>
Wed, 23 Nov 2011 21:58:42 +0000 (21:58 +0000)
committercgf <cgf>
Wed, 23 Nov 2011 21:58:42 +0000 (21:58 +0000)
commit119daf793889d2a125fd0e7c9ece23e00abd05b6
treebb49f825c804aec5b2283c9907f28d12421c06ff
parentc05d9df56f470678473f05fa572b02d0768cc9c5
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/child_info.h
winsup/cygwin/pipe.cc
winsup/cygwin/sigproc.cc
winsup/cygwin/spawn.cc