From b8aba69399733bef4bf975b6a54bcb4aa07b5ede Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 29 Sep 1998 14:15:49 +0000 Subject: [PATCH] Bracket stray printf()s by #ifdef DEBUG. --- sys/compat/linux/arch/i386/linux_sigarray.c | 4 +++- sys/compat/linux/common/linux_sig_notalpha.c | 4 +++- sys/compat/linux/common/linux_sigaction.c | 4 +++- sys/compat/linux/common/linux_signal.c | 4 +++- sys/compat/linux/i386/linux_sigarray.c | 4 +++- sys/compat/linux/linux_signal.c | 4 +++- sys/compat/linux/multiarch/linux_sig_notalpha.c | 4 +++- sys/compat/linux/multiarch/linux_sigaction.c | 4 +++- 8 files changed, 24 insertions(+), 8 deletions(-) diff --git a/sys/compat/linux/arch/i386/linux_sigarray.c b/sys/compat/linux/arch/i386/linux_sigarray.c index 5edd57960a24..8ceb9df30e39 100644 --- a/sys/compat/linux/arch/i386/linux_sigarray.c +++ b/sys/compat/linux/arch/i386/linux_sigarray.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sigarray.c,v 1.12 1998/09/11 12:50:09 mycroft Exp $ */ +/* $NetBSD: linux_sigarray.c,v 1.13 1998/09/29 14:15:49 tv Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -189,10 +189,12 @@ linux_to_native_sigaction(lsa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((lsa->sa_flags & LINUX_SA_NOMASK) != 0) bsa->sa_flags |= SA_NODEFER; +#ifdef DEBUG if ((lsa->sa_flags & ~LINUX_SA_ALLBITS) != 0) /*XXX*/ printf("linux_to_native_sigaction: extra bits ignored\n"); if (lsa->sa_restorer != 0) /*XXX*/ printf("linux_to_native_sigaction: sa_restorer ignored\n"); +#endif } void diff --git a/sys/compat/linux/common/linux_sig_notalpha.c b/sys/compat/linux/common/linux_sig_notalpha.c index 9ce85cb98e36..e0402de0162d 100644 --- a/sys/compat/linux/common/linux_sig_notalpha.c +++ b/sys/compat/linux/common/linux_sig_notalpha.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sig_notalpha.c,v 1.12 1998/09/11 12:50:09 mycroft Exp $ */ +/* $NetBSD: linux_sig_notalpha.c,v 1.13 1998/09/29 14:15:49 tv Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -189,10 +189,12 @@ linux_to_native_sigaction(lsa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((lsa->sa_flags & LINUX_SA_NOMASK) != 0) bsa->sa_flags |= SA_NODEFER; +#ifdef DEBUG if ((lsa->sa_flags & ~LINUX_SA_ALLBITS) != 0) /*XXX*/ printf("linux_to_native_sigaction: extra bits ignored\n"); if (lsa->sa_restorer != 0) /*XXX*/ printf("linux_to_native_sigaction: sa_restorer ignored\n"); +#endif } void diff --git a/sys/compat/linux/common/linux_sigaction.c b/sys/compat/linux/common/linux_sigaction.c index 733133d27da2..070c2367061b 100644 --- a/sys/compat/linux/common/linux_sigaction.c +++ b/sys/compat/linux/common/linux_sigaction.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sigaction.c,v 1.12 1998/09/11 12:50:09 mycroft Exp $ */ +/* $NetBSD: linux_sigaction.c,v 1.13 1998/09/29 14:15:49 tv Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -189,10 +189,12 @@ linux_to_native_sigaction(lsa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((lsa->sa_flags & LINUX_SA_NOMASK) != 0) bsa->sa_flags |= SA_NODEFER; +#ifdef DEBUG if ((lsa->sa_flags & ~LINUX_SA_ALLBITS) != 0) /*XXX*/ printf("linux_to_native_sigaction: extra bits ignored\n"); if (lsa->sa_restorer != 0) /*XXX*/ printf("linux_to_native_sigaction: sa_restorer ignored\n"); +#endif } void diff --git a/sys/compat/linux/common/linux_signal.c b/sys/compat/linux/common/linux_signal.c index 172ba287179c..95d1039cf9d6 100644 --- a/sys/compat/linux/common/linux_signal.c +++ b/sys/compat/linux/common/linux_signal.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_signal.c,v 1.12 1998/09/11 12:50:09 mycroft Exp $ */ +/* $NetBSD: linux_signal.c,v 1.13 1998/09/29 14:15:49 tv Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -189,10 +189,12 @@ linux_to_native_sigaction(lsa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((lsa->sa_flags & LINUX_SA_NOMASK) != 0) bsa->sa_flags |= SA_NODEFER; +#ifdef DEBUG if ((lsa->sa_flags & ~LINUX_SA_ALLBITS) != 0) /*XXX*/ printf("linux_to_native_sigaction: extra bits ignored\n"); if (lsa->sa_restorer != 0) /*XXX*/ printf("linux_to_native_sigaction: sa_restorer ignored\n"); +#endif } void diff --git a/sys/compat/linux/i386/linux_sigarray.c b/sys/compat/linux/i386/linux_sigarray.c index 5edd57960a24..8ceb9df30e39 100644 --- a/sys/compat/linux/i386/linux_sigarray.c +++ b/sys/compat/linux/i386/linux_sigarray.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sigarray.c,v 1.12 1998/09/11 12:50:09 mycroft Exp $ */ +/* $NetBSD: linux_sigarray.c,v 1.13 1998/09/29 14:15:49 tv Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -189,10 +189,12 @@ linux_to_native_sigaction(lsa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((lsa->sa_flags & LINUX_SA_NOMASK) != 0) bsa->sa_flags |= SA_NODEFER; +#ifdef DEBUG if ((lsa->sa_flags & ~LINUX_SA_ALLBITS) != 0) /*XXX*/ printf("linux_to_native_sigaction: extra bits ignored\n"); if (lsa->sa_restorer != 0) /*XXX*/ printf("linux_to_native_sigaction: sa_restorer ignored\n"); +#endif } void diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c index 172ba287179c..95d1039cf9d6 100644 --- a/sys/compat/linux/linux_signal.c +++ b/sys/compat/linux/linux_signal.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_signal.c,v 1.12 1998/09/11 12:50:09 mycroft Exp $ */ +/* $NetBSD: linux_signal.c,v 1.13 1998/09/29 14:15:49 tv Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -189,10 +189,12 @@ linux_to_native_sigaction(lsa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((lsa->sa_flags & LINUX_SA_NOMASK) != 0) bsa->sa_flags |= SA_NODEFER; +#ifdef DEBUG if ((lsa->sa_flags & ~LINUX_SA_ALLBITS) != 0) /*XXX*/ printf("linux_to_native_sigaction: extra bits ignored\n"); if (lsa->sa_restorer != 0) /*XXX*/ printf("linux_to_native_sigaction: sa_restorer ignored\n"); +#endif } void diff --git a/sys/compat/linux/multiarch/linux_sig_notalpha.c b/sys/compat/linux/multiarch/linux_sig_notalpha.c index 9ce85cb98e36..e0402de0162d 100644 --- a/sys/compat/linux/multiarch/linux_sig_notalpha.c +++ b/sys/compat/linux/multiarch/linux_sig_notalpha.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sig_notalpha.c,v 1.12 1998/09/11 12:50:09 mycroft Exp $ */ +/* $NetBSD: linux_sig_notalpha.c,v 1.13 1998/09/29 14:15:49 tv Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -189,10 +189,12 @@ linux_to_native_sigaction(lsa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((lsa->sa_flags & LINUX_SA_NOMASK) != 0) bsa->sa_flags |= SA_NODEFER; +#ifdef DEBUG if ((lsa->sa_flags & ~LINUX_SA_ALLBITS) != 0) /*XXX*/ printf("linux_to_native_sigaction: extra bits ignored\n"); if (lsa->sa_restorer != 0) /*XXX*/ printf("linux_to_native_sigaction: sa_restorer ignored\n"); +#endif } void diff --git a/sys/compat/linux/multiarch/linux_sigaction.c b/sys/compat/linux/multiarch/linux_sigaction.c index 733133d27da2..070c2367061b 100644 --- a/sys/compat/linux/multiarch/linux_sigaction.c +++ b/sys/compat/linux/multiarch/linux_sigaction.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sigaction.c,v 1.12 1998/09/11 12:50:09 mycroft Exp $ */ +/* $NetBSD: linux_sigaction.c,v 1.13 1998/09/29 14:15:49 tv Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -189,10 +189,12 @@ linux_to_native_sigaction(lsa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((lsa->sa_flags & LINUX_SA_NOMASK) != 0) bsa->sa_flags |= SA_NODEFER; +#ifdef DEBUG if ((lsa->sa_flags & ~LINUX_SA_ALLBITS) != 0) /*XXX*/ printf("linux_to_native_sigaction: extra bits ignored\n"); if (lsa->sa_restorer != 0) /*XXX*/ printf("linux_to_native_sigaction: sa_restorer ignored\n"); +#endif } void