Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern issignal(): put apparently long-forgotten (at least...
details: https://anonhg.NetBSD.org/src/rev/f229b02c2a0e
branches: trunk
changeset: 539887:f229b02c2a0e
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Nov 28 21:00:27 2002 +0000
description:
issignal(): put apparently long-forgotten (at least since 4.4BSD)
debug printf inside #ifdef DEBUG_ISSIGNAL
This adresses kern/16760 by Love.
diffstat:
sys/kern/kern_sig.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 327c4cc59136 -r f229b02c2a0e sys/kern/kern_sig.c
--- a/sys/kern/kern_sig.c Thu Nov 28 20:06:26 2002 +0000
+++ b/sys/kern/kern_sig.c Thu Nov 28 21:00:27 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sig.c,v 1.127 2002/11/24 11:37:55 scw Exp $ */
+/* $NetBSD: kern_sig.c,v 1.128 2002/11/28 21:00:27 jdolecek Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.127 2002/11/24 11:37:55 scw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.128 2002/11/28 21:00:27 jdolecek Exp $");
#include "opt_ktrace.h"
#include "opt_compat_sunos.h"
@@ -1180,9 +1180,11 @@
* to take action on an ignored signal other
* than SIGCONT, unless process is traced.
*/
+#ifdef DEBUG_ISSIGNAL
if ((prop & SA_CONT) == 0 &&
(p->p_flag & P_TRACED) == 0)
printf("issignal\n");
+#endif
break; /* == ignore */
default:
Home |
Main Index |
Thread Index |
Old Index