Source-Changes-HG archive

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

[src/trunk]: src/bin/sh evert previous, linux build problem confirmed fixed by



details:   https://anonhg.NetBSD.org/src/rev/382bb4e78b01
branches:  trunk
changeset: 446447:382bb4e78b01
user:      kre <kre%NetBSD.org@localhost>
date:      Wed Dec 05 22:25:38 2018 +0000

description:
evert previous, linux build problem confirmed fixed by
update to mkinit.sh (to 1.10).

Or more correctly, revert & fix - turns out that there was an off by one
(failure to adjust for other changes -- in a value printed by debug mode
trace output).

NFC.

diffstat:

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

diffs (27 lines):

diff -r 12fdcbeac12f -r 382bb4e78b01 bin/sh/trap.c
--- a/bin/sh/trap.c     Wed Dec 05 21:43:33 2018 +0000
+++ b/bin/sh/trap.c     Wed Dec 05 22:25:38 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.48 2018/12/05 03:14:28 kre Exp $    */
+/*     $NetBSD: trap.c,v 1.49 2018/12/05 22:25:38 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.48 2018/12/05 03:14:28 kre Exp $");
+__RCSID("$NetBSD: trap.c,v 1.49 2018/12/05 22:25:38 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -571,6 +571,8 @@
        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)));
                }
        }
        INTON;



Home | Main Index | Thread Index | Old Index