diff options
Diffstat (limited to 'shells/scsh/patches/patch-ah')
-rw-r--r-- | shells/scsh/patches/patch-ah | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/shells/scsh/patches/patch-ah b/shells/scsh/patches/patch-ah deleted file mode 100644 index b1f8c25f733..00000000000 --- a/shells/scsh/patches/patch-ah +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-ah,v 1.3 2002/06/06 21:54:39 cjep Exp $ - ---- scsh/bsd/sigset.h.orig Tue May 16 09:52:02 2000 -+++ scsh/bsd/sigset.h -@@ -9,7 +9,25 @@ - #define split_sigset(mask, hip, lop) \ - ((*(hip)=(mask.__bits[0]>>24)&0xff), \ - (*(lop)=(mask.__bits[0]&0xffffff))) -+ -+#elif defined (__NetBSD__) && defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 103080000) -+ -+#if _NSIG > 64 -+#error Too many signals! Fix scsh to save more of them! -+#endif -+ -+#define make_sigset(maskp, hi, lo) do { __sigemptyset(maskp); \ -+ (maskp)->__bits[0] = ((hi)<<24)|(lo); \ -+ (maskp)->__bits[1] = ((hi)>>8); \ -+ } while(0) -+ -+/* Not a procedure: */ -+#define split_sigset(mask, hip, lop) \ -+ ((*(hip)=((mask.__bits[0]>>24)&0xff) | (mask.__bits[1]<<8)), \ -+ (*(lop)=(mask.__bits[0]&0xffffff))) -+ - #else -+ - #define make_sigset(maskp, hi, lo) (*maskp=((hi)<<24)|(lo)) - - /* Not a procedure: */ |