From 12b6786669038402257efb65001493448e02a99c Mon Sep 17 00:00:00 2001 From: agc Date: Sun, 8 Feb 2004 23:37:13 +0000 Subject: Rather than a direct assignation to the signal mask, use sigemptyset(3), from Roland Illig by email. "Needed for Linux 2.4.22" --- sysutils/crashme/distinfo | 4 ++-- sysutils/crashme/patches/patch-ab | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'sysutils') diff --git a/sysutils/crashme/distinfo b/sysutils/crashme/distinfo index e6551b98328..afe7dd585e3 100644 --- a/sysutils/crashme/distinfo +++ b/sysutils/crashme/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2004/02/08 12:58:55 grant Exp $ +$NetBSD: distinfo,v 1.4 2004/02/08 23:37:13 agc Exp $ SHA1 (crashme-2.4-shar) = 0648322959634f21e61a5d5e1b308e3c89dc2841 Size (crashme-2.4-shar) = 57010 bytes SHA1 (patch-aa) = 01f981d1ac274bf00ba8d5f9ddcad8aeeaf3dffb -SHA1 (patch-ab) = 4c7bdcbaae5c802ee27142b3a41638151dff3638 +SHA1 (patch-ab) = 2dc1213fe4621b947a9ce8d589925a9bd83653e0 diff --git a/sysutils/crashme/patches/patch-ab b/sysutils/crashme/patches/patch-ab index c8e0e118089..41d8835d0d0 100644 --- a/sysutils/crashme/patches/patch-ab +++ b/sysutils/crashme/patches/patch-ab @@ -1,7 +1,16 @@ -$NetBSD: patch-ab,v 1.1 1999/06/27 01:41:46 abs Exp $ +$NetBSD: patch-ab,v 1.2 2004/02/08 23:37:13 agc Exp $ ---- crashme.c.orig Sat Jun 26 18:35:17 1999 -+++ crashme.c Sat Jun 26 18:36:01 1999 +--- crashme.c 2004/02/08 23:29:34 1.1 ++++ crashme.c 2004/02/08 23:31:28 +@@ -260,7 +260,7 @@ + #else + struct sigaction act; + act.sa_handler = func; +- act.sa_mask = 0; ++ sigemptyset(&act.sa_mask); + #ifdef linux + act.sa_restorer = 0; + #endif /* linux */ @@ -591,7 +591,7 @@ status = fork(); #endif -- cgit v1.2.3