From 9a7429ed7734531ca313d8c1f724bcb07c33ff54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Aulery?= Date: Sat, 6 Jul 2013 15:40:56 +0200 Subject: Drop CRAY support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Aulery Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith --- signals.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/signals.c b/signals.c index 53a0168..248e9ca 100644 --- a/signals.c +++ b/signals.c @@ -130,8 +130,7 @@ sig_child_handler (int sig) { int pid, olderrno = errno; -#if !defined(USE_POSIX_WAIT) && (defined(USE_SYSV_SIGNALS) && \ - (defined(CRAY) || !defined(SIGTSTP))) +#if !defined(USE_POSIX_WAIT) && defined(USE_SYSV_SIGNALS) && !defined(SIGTSTP) wait (NULL); #endif @@ -151,7 +150,7 @@ sig_child_handler (int sig) #ifdef USE_POSIX_WAIT pid = waitpid (-1, NULL, WNOHANG); #else -#if defined(USE_SYSV_SIGNALS) && (defined(CRAY) || !defined(SIGTSTP)) +#if defined(USE_SYSV_SIGNALS) && !defined(SIGTSTP) /* cannot do non-blocking wait */ pid = 0; #else @@ -260,7 +259,7 @@ execute_system_command (char *s) Signal (SIGCHLD, sig_child_handler); -#if !(defined(USE_SYSV_SIGNALS) && (defined(CRAY) || !defined(SIGTSTP))) +#if !(defined(USE_SYSV_SIGNALS) && !defined(SIGTSTP)) do { union wait status; -- cgit v1.2.3