20 lines
411 B
Text
20 lines
411 B
Text
$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);
|
|
}
|