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>2004-12-27 03:35:19 +0300
committerChristopher Faylor <me@cgf.cx>2004-12-27 03:35:19 +0300
commit445d5ce8fcffed71f4349c723b707dc779fe1cc2 (patch)
treedd0a5b737917fddf83d4a9a38b947126cf8ddfad /winsup/cygwin/pinfo.h
parent8711eddd80efc5f05f19da613ce3ad7ebc66aa35 (diff)
* 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: