blob: f6584b7547ad228a0c451d3c84e5220e00338b7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ap,v 1.3 2000/08/15 14:48:23 abs Exp $
--- libatalk/dsi/dsi_tcp.c.orig Wed Nov 18 07:59:25 1998
+++ libatalk/dsi/dsi_tcp.c
@@ -108,6 +108,11 @@
exit(1);
}
newact.sa_handler = timeout_handler;
+ sigemptyset(&newact.sa_mask);
+ newact.sa_flags = 0;
+ oldact.sa_handler = NULL;
+ sigemptyset(&oldact.sa_mask);
+ oldact.sa_flags = 0;
if (sigaction(SIGALRM, &newact, &oldact) < 0) {
syslog(LOG_ERR, "dsi_tcp_open: sigaction: %m");
exit(1);
|