From 5b6920ed16448ce774c5c1de54d2853d0fee0f72 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 18 Jun 2003 17:19:44 -0400 Subject: Removed Exception_Abort because there is no windows version. Also made ExitValue consistent with windows when a signal kills the process. --- Source/kwsys/ProcessUNIX.c | 4 ---- 1 file changed, 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 { -- cgit v0.12