Source-Changes-HG archive

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

[src/trunk]: src/bin/sh I am an idiot... revert the previous unintended commit.



details:   https://anonhg.NetBSD.org/src/rev/dca5a0639595
branches:  trunk
changeset: 824518:dca5a0639595
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Jun 08 02:25:43 2017 +0000

description:
I am an idiot...  revert the previous unintended commit.

diffstat:

 bin/sh/Makefile |  6 ++----
 bin/sh/eval.c   |  7 +++----
 2 files changed, 5 insertions(+), 8 deletions(-)

diffs (50 lines):

diff -r f6db56a78bd9 -r dca5a0639595 bin/sh/Makefile
--- a/bin/sh/Makefile   Thu Jun 08 02:23:51 2017 +0000
+++ b/bin/sh/Makefile   Thu Jun 08 02:25:43 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.111 2017/06/08 02:23:51 kre Exp $
+#      $NetBSD: Makefile,v 1.112 2017/06/08 02:25:43 kre Exp $
 #      @(#)Makefile    8.4 (Berkeley) 5/5/95
 
 .include <bsd.own.mk>
@@ -26,11 +26,9 @@
 CPPFLAGS+=-DSHELL -I. -I${.CURDIR}
 #XXX: For testing only.
 #CPPFLAGS+=-DDEBUG=3
-CPPFLAGS+=-DDEBUG=1
-COPTS+=-g
+#COPTS+=-g
 #CFLAGS+=-funsigned-char
 #TARGET_CHARFLAG?= -DTARGET_CHAR="unsigned char" -funsigned-char
-CFLAGS+=-Wall
 
 # Reproducible build parameters ... export into sh for NETBSD_SHELL setting
 .if ${MKREPRO_TIMESTAMP:Uno} != "no"
diff -r f6db56a78bd9 -r dca5a0639595 bin/sh/eval.c
--- a/bin/sh/eval.c     Thu Jun 08 02:23:51 2017 +0000
+++ b/bin/sh/eval.c     Thu Jun 08 02:25:43 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eval.c,v 1.144 2017/06/08 02:23:51 kre Exp $   */
+/*     $NetBSD: eval.c,v 1.145 2017/06/08 02:25:43 kre Exp $   */
 
 /*-
  * Copyright (c) 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)eval.c     8.9 (Berkeley) 6/8/95";
 #else
-__RCSID("$NetBSD: eval.c,v 1.144 2017/06/08 02:23:51 kre Exp $");
+__RCSID("$NetBSD: eval.c,v 1.145 2017/06/08 02:25:43 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -776,8 +776,7 @@
 
        vforked = 0;
        /* First expand the arguments. */
-       CTRACE(DBG_EVAL, ("evalcommand(%p, %d) called (%d)\n", cmd, flags,
-           (cmd ? cmd->ncmd.lineno : -1)));
+       TRACE(("evalcommand(%p, %d) called\n", cmd, flags));
        setstackmark(&smark);
        back_exitstatus = 0;
 



Home | Main Index | Thread Index | Old Index