summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/pinfo.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-12-27 00:35:19 +0000
committerChristopher Faylor <me@cgf.cx>2004-12-27 00:35:19 +0000
commit445d5ce8fcffed71f4349c723b707dc779fe1cc2 (patch)
treedd0a5b737917fddf83d4a9a38b947126cf8ddfad /winsup/cygwin/pinfo.h
parent8711eddd80efc5f05f19da613ce3ad7ebc66aa35 (diff)
downloadcygnal-445d5ce8fcffed71f4349c723b707dc779fe1cc2.tar.gz
cygnal-445d5ce8fcffed71f4349c723b707dc779fe1cc2.tar.bz2
cygnal-445d5ce8fcffed71f4349c723b707dc779fe1cc2.zip
* init.cc (dll_entry): Remove exit code setting.
* pinfo.cc (pinfo::init): Initialize exitcode to unset state rather than SIGTERM. (proc_waiter): Detect if exit code is unset and use status from GetExitCodeProcess. * sigproc.cc (child_info::sync): Remove exit code detection here since proc_waiter now (again) detects it.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r--winsup/cygwin/pinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h
index dd998a649..b649e0fbd 100644
--- a/winsup/cygwin/pinfo.h
+++ b/winsup/cygwin/pinfo.h
@@ -26,6 +26,8 @@ enum picom
PICOM_FIFO = 2
};
+#define EXITCODE_UNSET 0x80000000
+
class _pinfo
{
public: