aboutsummaryrefslogtreecommitdiff
path: root/lang/scsh/files
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2001-09-15 14:37:39 +0000
committerAlexander Langer <alex@FreeBSD.org>2001-09-15 14:37:39 +0000
commit0fc58458bda4b84a40b29410448bb5ebf1bd1702 (patch)
tree6f8ea3e37dff1779ab00ea61ede37bda80592afb /lang/scsh/files
parent63b6b0c519086ad69e19bf8b9f8728fcf48c2c7c (diff)
downloadports-0fc58458bda4b84a40b29410448bb5ebf1bd1702.tar.gz
ports-0fc58458bda4b84a40b29410448bb5ebf1bd1702.zip
Notes
Diffstat (limited to 'lang/scsh/files')
-rw-r--r--lang/scsh/files/patch-af26
1 files changed, 0 insertions, 26 deletions
diff --git a/lang/scsh/files/patch-af b/lang/scsh/files/patch-af
deleted file mode 100644
index 5db2627b7de6..000000000000
--- a/lang/scsh/files/patch-af
+++ /dev/null
@@ -1,26 +0,0 @@
---- scsh/bsd/sigset.h.old Tue Feb 1 16:04:42 2000
-+++ scsh/bsd/sigset.h Fri Feb 4 14:54:18 2000
-@@ -2,9 +2,18 @@
- ** These macros are OS-dependent, and must be defined per-OS.
- */
-
--#define make_sigset(maskp, hi, lo) (*maskp=((hi)<<24)|(lo))
-+#define make_sigset(maskp, hi, lo) sigemptyset(maskp),\
-+ sigaddset(maskp, hi), \
-+ sigaddset(maskp, lo);
-
--/* Not a procedure: */
--#define split_sigset(mask, hip, lop) \
-- ((*(hip)=(mask>>24)&0xff), \
-- (*(lop)=(mask&0xffffff)))
-+static void
-+split_sigset(sigset_t mask, int * hip, int * lop) {
-+ int seen = 0;
-+ int n;
-+ for (n = 1; n <= _SIG_MAXSIG; n++) {
-+ if (sigismember(&mask, n))
-+ (seen ? *hip : *lop) = n, seen++;
-+ }
-+ if (seen == 1)
-+ *hip = 0;
-+}