diff options
author | alex <alex@FreeBSD.org> | 2001-09-15 14:37:39 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2001-09-15 14:37:39 +0000 |
commit | caf58bd4cdb8d815fdea1b5750489a1685766139 (patch) | |
tree | 087f73583207e6ba279dbc8ddd4e6a35f7bdd65e /lang/scsh/files | |
parent | c94b139ba849ee3b50090a509ce8ae226999de20 (diff) | |
download | FreeBSD-ports-caf58bd4cdb8d815fdea1b5750489a1685766139.zip FreeBSD-ports-caf58bd4cdb8d815fdea1b5750489a1685766139.tar.gz |
Upgrade to 0.5.3.
Submitted by: jkoshy
Diffstat (limited to 'lang/scsh/files')
-rw-r--r-- | lang/scsh/files/patch-af | 26 |
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 5db2627..0000000 --- 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; -+} |