OSDN Git Service

* child_info.h (child_status): New enum.
authorcgf <cgf>
Mon, 20 Mar 2006 18:01:17 +0000 (18:01 +0000)
committercgf <cgf>
Mon, 20 Mar 2006 18:01:17 +0000 (18:01 +0000)
commitb7cb8b0a9c7e4cde6cc7422cc0ea7efa0735dd29
tree0b5834db32da4ff64be5e1d67c096124ca152ef5
parent757429c7efbb86adb54ee223bbf3ebc17f34b005
* child_info.h (child_status): New enum.
(child_info::flag): Rename from 'straced'.
(child_info::isstraced): New function.
(child_info::iscygwin): Ditto.
(child_info_fork::handle_fork): Reparmize.
(child_info_fork::handle_failure): Ditto.
(child_info_spawn::handle_spawn): New function.
* dcrt0.cc (get_cygwin_startup_info): Use isstraced method.
(child_info_spawn::handle_spawn): Define new function from code previously in
dll_crt0_0.
(dll_crt0_0): Move spawn stuff into handle_spawn.  Only call
init_console_handler for fork case.
* sigproc.cc (child_info::child_info): Set flag appropriately.
(child_info::proc_retry): Treat exit code as "funny" if it's a cygwin process.
* spawn.cc (spawn_guts): Remove commented out flag setting.
winsup/cygwin/ChangeLog
winsup/cygwin/child_info.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/sigproc.cc
winsup/cygwin/spawn.cc