From 5b6920ed16448ce774c5c1de54d2853d0fee0f72 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 18 Jun 2003 17:19:44 -0400 Subject: [PATCH] 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 11ce2f14b..fc315a9db 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -620,14 +620,10 @@ int kwsysProcess_WaitForExit(kwsysProcess* cp, double* userTimeout) #endif #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 {