Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh NFC (except that it should, I am guessing, fix compil...



details:   https://anonhg.NetBSD.org/src/rev/107ce550e40a
branches:  trunk
changeset: 446433:107ce550e40a
user:      kre <kre%NetBSD.org@localhost>
date:      Wed Dec 05 03:14:28 2018 +0000

description:
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@

diffstat:

 bin/sh/trap.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 10372f4e8a02 -r 107ce550e40a bin/sh/trap.c
--- a/bin/sh/trap.c     Wed Dec 05 02:48:04 2018 +0000
+++ b/bin/sh/trap.c     Wed Dec 05 03:14:28 2018 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index