diff options
author | Stéphane Aulery <lkppo@free.fr> | 2013-07-06 15:40:56 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-06 08:50:19 -0700 |
commit | 9a7429ed7734531ca313d8c1f724bcb07c33ff54 (patch) | |
tree | 54b51269737e560afd83710d5207b2f0d9048a5b | |
parent | 5eaa2f649cf594f55bae32a46ae6e65a68656bf8 (diff) |
Drop CRAY support
Signed-off-by: Stéphane Aulery <lkppo@free.fr>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | signals.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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; |