Module Name:    src
Committed By:   kre
Date:           Wed Dec  5 03:14:28 UTC 2018

Modified Files:
        src/bin/sh: trap.c

Log Message:
NFC (except that it should, I am guessing, fix compilation on
some versions of liux) - DEBUG mode change:  Delete a (relatively new)
trace point (temporarily anyway) which mkinit (a script run using the
host's /bin/sh) apparently cannot handle correctly on (some release of)
linux (it is fine with the NetBSD shell).

I don't know which linux version has a shell with this problem
(or whether it is a mkinit issue that only works by fluke on NetBSD)

Problem reported by gson@


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/bin/sh/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/sh/trap.c
diff -u src/bin/sh/trap.c:1.47 src/bin/sh/trap.c:1.48
--- src/bin/sh/trap.c:1.47	Mon Dec  3 06:43:19 2018
+++ src/bin/sh/trap.c	Wed Dec  5 03:14:28 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: trap.c,v 1.47 2018/12/03 06:43:19 kre Exp $	*/
+/*	$NetBSD: trap.c,v 1.48 2018/12/05 03:14:28 kre Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)trap.c	8.5 (Berkeley) 6/5/95";
 #else
-__RCSID("$NetBSD: trap.c,v 1.47 2018/12/03 06:43:19 kre Exp $");
+__RCSID("$NetBSD: trap.c,v 1.48 2018/12/05 03:14:28 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -571,8 +571,6 @@ SHELLPROC {
 	for (sm = sigmode ; sm < sigmode + NSIG ; sm++) {
 		if (*sm == S_IGN) {
 			*sm = S_HARD_IGN;
-			VTRACE(DBG_TRAP, ("SHELLPROC: %d -> hard_ign\n",
-			    (sm - sigmode) + 1));
 		}
 	}
 	INTON;

Reply via email to