diff options
author | Christopher Faylor <me@cgf.cx> | 2006-05-22 08:50:54 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-05-22 08:50:54 +0400 |
commit | 6813f009ba2a95c9476e29fe356d2e3b46286efb (patch) | |
tree | 073ccf527cf9cb193ce1094b079bbfdba8687657 /winsup/cygwin/pinfo.cc | |
parent | 8ae1d98d8ee2a0e0813d32aa42f2e584f99d17bf (diff) |
* child_info.h (_CI_SAW_CTRL_C): New enum.
(CURR_CHILD_INFO_MAGIC): Reset.
(saw_ctrl_c): New function.
(set_saw_ctrl_c): Ditto.
* sigproc.cc (child_info::proc_retry): Return EXITCODE_OK if we get
STATUS_CONTROL_C_EXIT and we actually saw a CTRL-C.
* spawn.cc (dwExeced): Delete.
(chExeced): New variable.
(spawn_guts): Set chExeced;
* exceptions.cc (dwExeced): Delete declaration.
(chExeced): Declare.
(ctrl_c_handler): Detect if we're an exec stub process and set a flag, if so.
* fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Add extra
DEBUGGING test.
* pinfo.cc: Fix comment.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 8aeaa64bb..504c1c9f2 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -41,8 +41,8 @@ pinfo NO_COPY myself ((_pinfo *)&pinfo_dummy); // Avoid myself != NULL checks bool is_toplevel_proc; -/* Initialize the process table. - This is done once when the dll is first loaded. */ +/* Setup the pinfo structure for this process. There may already be a + _pinfo for this "pid" if h != NULL. */ void __stdcall set_myself (HANDLE h) |