scsh-users
[Top] [All Lists]

Otherwise, it works perfectly!

To: scsh-bugs@martigny.ai.mit.edu
Subject: Otherwise, it works perfectly!
From: Alan Bawden <Bawden@cs.brandeis.edu>
Date: Fri, 10 Oct 1997 18:14:57 -0400 (EDT)
Sender: Bawden@cs.brandeis.edu
To compile Scsh 0.5.1 on IRIX 6.2 it is necessary to apply the following
patch:

--- scsh-0.5.1/scsh/irix/sigset.h.orig  Fri Oct 13 23:34:21 1995
+++ scsh-0.5.1/scsh/irix/sigset.h       Fri Oct 10 17:32:05 1997
@@ -2,9 +2,9 @@
 ** These macros are OS-dependent, and must be defined per-OS.
 */
 
-#define make_sigset(maskp, hi, lo) ((maskp)->sigbits[0]=((hi)<<24)|(lo))
+#define make_sigset(maskp, hi, lo) ((maskp)->__sigbits[0]=((hi)<<24)|(lo))
 
 /* Not a procedure: */
 #define split_sigset(mask, hip, lop) \
-       ((*(hip)=((mask).sigbits[0]>>24)&0xff), \
-        (*(lop)=((mask).sigbits[0]&0xffffff)))
+       ((*(hip)=((mask).__sigbits[0]>>24)&0xff), \
+        (*(lop)=((mask).__sigbits[0]&0xffffff)))

<Prev in Thread] Current Thread [Next in Thread>