blob: 15efb54a39fe7c0cb193b5965f3cfeeda5dd5c5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-aa,v 1.3 1999/06/28 09:11:13 agc Exp $
Handle wide signal masks.
--- Xpm.c.orig Tue Nov 26 13:40:26 1996
+++ Xpm.c Mon Jun 28 10:04:57 1999
@@ -206,9 +206,8 @@
sigchld.
*/
new.sa_handler=SigHandle;
- new.sa_mask=0;
- new.sa_flags=SA_NOMASK | SA_ONESHOT;
- new.sa_restorer=NULL;
+ (void) memset(&new.sa_mask, 0, sizeof(new.sa_mask));
+ new.sa_flags=SA_NODEFER;
sigaction(SIGCHLD, &new, &old);
playing = 1;
soundpid = fork();
|