summaryrefslogtreecommitdiff
path: root/emulators/doscmd/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/doscmd/patches/patch-ag')
-rw-r--r--emulators/doscmd/patches/patch-ag20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/doscmd/patches/patch-ag b/emulators/doscmd/patches/patch-ag
new file mode 100644
index 00000000000..56f28007a59
--- /dev/null
+++ b/emulators/doscmd/patches/patch-ag
@@ -0,0 +1,20 @@
+$NetBSD: patch-ag,v 1.1 1998/11/29 23:39:30 sommerfe Exp $
+
+--- AsyncIO.c Thu May 2 02:51:00 1996
++++ /tmp/AsyncIO.c Sun Nov 29 18:28:44 1998
+@@ -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);
+ }