summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-06-18 21:19:44 (GMT)
committerBrad King <brad.king@kitware.com>2003-06-18 21:19:44 (GMT)
commit5b6920ed16448ce774c5c1de54d2853d0fee0f72 (patch)
tree803280fac0c9ff52169e4f81dd899ae85d5f063f /Source/kwsys
parentf5bbacaa5c199de4879aeec916c8fd40b22baa4f (diff)
downloadCMake-5b6920ed16448ce774c5c1de54d2853d0fee0f72.zip
CMake-5b6920ed16448ce774c5c1de54d2853d0fee0f72.tar.gz
CMake-5b6920ed16448ce774c5c1de54d2853d0fee0f72.tar.bz2
Removed Exception_Abort because there is no windows version. Also made ExitValue consistent with windows when a signal kills the process.
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/ProcessUNIX.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index 11ce2f1..fc315a9 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -621,13 +621,9 @@ int kwsysProcess_WaitForExit(kwsysProcess* cp, double* userTimeout)
#ifdef SIGINT
case SIGINT: cp->ExitException = kwsysProcess_Exception_Interrupt; break;
#endif
-#ifdef SIGABRT
- case SIGABRT: cp->ExitException = kwsysProcess_Exception_Abort; break;
-#endif
default: cp->ExitException = kwsysProcess_Exception_Other; break;
}
cp->ExitCode = status;
- cp->ExitValue = (int)WTERMSIG(status);
}
else
{