summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdMZ.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2002-08-12 12:23:39 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2002-08-12 12:23:39 (GMT)
commitf6fcbc180c7be6e41b5e969c22ca6ca68d5aebf3 (patch)
tree918784fde48baac2ff4d411095472a1a48afdb6f /generic/tclCmdMZ.c
parent9f622365f1498c6b371b58445551780ceef3a2de (diff)
downloadtcl-f6fcbc180c7be6e41b5e969c22ca6ca68d5aebf3.zip
tcl-f6fcbc180c7be6e41b5e969c22ca6ca68d5aebf3.tar.gz
tcl-f6fcbc180c7be6e41b5e969c22ca6ca68d5aebf3.tar.bz2
* generic/tclCmdMZ.c: fixing UMR in delete traces, [Bug 589863].
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r--generic/tclCmdMZ.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c
index bc832ea..5dd8786 100644
--- a/generic/tclCmdMZ.c
+++ b/generic/tclCmdMZ.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdMZ.c,v 1.74 2002/08/05 03:24:40 dgp Exp $
+ * RCS: @(#) $Id: tclCmdMZ.c,v 1.75 2002/08/12 12:23:39 msofer Exp $
*/
#include "tclInt.h"
@@ -3386,6 +3386,8 @@ TclTraceCommandObjCmd(interp, optionIndex, objc, objv)
(sizeof(TraceCommandInfo) - sizeof(tcmdPtr->command)
+ length + 1));
tcmdPtr->flags = flags;
+ tcmdPtr->stepTrace = NULL;
+ tcmdPtr->startLevel = 0;
tcmdPtr->length = length;
flags |= TCL_TRACE_DELETE;
strcpy(tcmdPtr->command, command);