blob: 8974ccacb0fece8b277a607648243228e00039f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ag,v 1.2 2001/03/16 13:58:58 wiz Exp $
--- AsyncIO.c.orig Thu May 2 08:51:00 1996
+++ AsyncIO.c
@@ -320,6 +320,7 @@
abort();
}
if (stackp++ == 0) {
+ sigemptyset(&set);
sigaddset(&set, SIGIO);
sigprocmask(SIG_BLOCK, &set, 0);
}
@@ -335,6 +336,7 @@
abort();
}
if (--stackp == 0) {
+ sigemptyset(&set);
sigaddset(&set, SIGIO);
sigprocmask(SIG_UNBLOCK, &set, 0);
}
|