[PATCH xsm] Drop CRAY support

Stéphane Aulery lkppo at free.fr
Sat Jul 6 06:40:56 PDT 2013


Signed-off-by: Stéphane Aulery <lkppo at free.fr>
---
 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;
-- 
1.7.10.4



More information about the xorg-devel mailing list