From c35349f8f1071e56eb5c58e4cf5539969245f0ee Mon Sep 17 00:00:00 2001 From: Brad King <brad.king@kitware.com> 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. --- ProcessUNIX.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ProcessUNIX.c b/ProcessUNIX.c index 461db7fa..492a2954 100644 --- a/ProcessUNIX.c +++ b/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 { -- GitLab