Module Name: src
Committed By: kre
Date: Thu Oct 18 04:44:27 UTC 2018
Modified Files:
src/bin/sh: show.c
Log Message:
Remove a DEBUG mode transition mechanism (for the transition from
the ancient DEBUG TRACE() method, to the newer CTRACE() et. al.)
that turns out never really needed committing - the mechanism, and
the code that obsoleted it, were committed together (May 2017).
[It was useful to me while getting to that state...]
NFC. Not even with DEBUG shells.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/bin/sh/show.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/show.c
diff -u src/bin/sh/show.c:1.49 src/bin/sh/show.c:1.50
--- src/bin/sh/show.c:1.49 Sun Aug 19 10:47:45 2018
+++ src/bin/sh/show.c Thu Oct 18 04:44:27 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: show.c,v 1.49 2018/08/19 10:47:45 kre Exp $ */
+/* $NetBSD: show.c,v 1.50 2018/10/18 04:44:27 kre Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)show.c 8.3 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: show.c,v 1.49 2018/08/19 10:47:45 kre Exp $");
+__RCSID("$NetBSD: show.c,v 1.50 2018/10/18 04:44:27 kre Exp $");
#endif
#endif /* not lint */
@@ -68,21 +68,6 @@ __RCSID("$NetBSD: show.c,v 1.49 2018/08/
#include "var.h"
#include "builtins.h"
-#if defined(DEBUG) && !defined(DBG_PID)
-/*
- * If this is compiled, it means this is being compiled in a shell that still
- * has an older shell.h (a simpler TRACE() mechanism than is coming soon.)
- *
- * Compensate for as much of that as is missing and is needed here
- * to compile and operate at all. After the other changes have appeared,
- * this little block can (and should be) deleted (sometime).
- *
- * Try to avoid waiting 22 years...
- */
-#define DBG_PID 1
-#define DBG_NEST 2
-#endif
-
#define DEFINE_NODENAMES
#include "nodenames.h" /* does almost nothing if !defined(DEBUG) */