Source-Changes-HG archive

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

[src/trunk]: src/bin/sh DEBUG mode change only. Add one extra trace point. ...



details:   https://anonhg.NetBSD.org/src/rev/fd6218a89ec0
branches:  trunk
changeset: 448802:fd6218a89ec0
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Feb 09 09:34:43 2019 +0000

description:
DEBUG mode change only.  Add one extra trace point.   NFC for normal builds.

diffstat:

 bin/sh/redir.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2f87ea8c104c -r fd6218a89ec0 bin/sh/redir.c
--- a/bin/sh/redir.c    Sat Feb 09 09:33:20 2019 +0000
+++ b/bin/sh/redir.c    Sat Feb 09 09:34:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: redir.c,v 1.63 2019/02/09 03:35:55 kre Exp $   */
+/*     $NetBSD: redir.c,v 1.64 2019/02/09 09:34:43 kre Exp $   */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)redir.c    8.2 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: redir.c,v 1.63 2019/02/09 03:35:55 kre Exp $");
+__RCSID("$NetBSD: redir.c,v 1.64 2019/02/09 09:34:43 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -425,6 +425,7 @@
                        xwrite(pip[1], redir->nhere.doc->narg.text, len);
                else
                        expandhere(redir->nhere.doc, pip[1]);
+               VTRACE(DBG_PROCS|DBG_REDIR, ("wrote here doc.  exiting\n"));
                _exit(0);
        }
        VTRACE(DBG_REDIR, ("openhere (closing %d)", pip[1]));



Home | Main Index | Thread Index | Old Index