diff options
author | dgp <dgp@users.sourceforge.net> | 2003-10-03 20:42:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-10-03 20:42:06 (GMT) |
commit | 5a7659af1087fa2c7e87967ad997b2364e8f1295 (patch) | |
tree | 9f099217551ef1662a4ebe36cfdb87908a134b5e /generic/tclBasic.c | |
parent | 2f410aca8409714a2f94c7147384ebf8750b2518 (diff) | |
download | tcl-5a7659af1087fa2c7e87967ad997b2364e8f1295.zip tcl-5a7659af1087fa2c7e87967ad997b2364e8f1295.tar.gz tcl-5a7659af1087fa2c7e87967ad997b2364e8f1295.tar.bz2 |
* generic/tclBasic.c: Fixed error in ref count management of command
* generic/tclCmdMZ.c: and execution traces that caused access to
freed memory in trace-32.1. [Bug 811483].
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 2447818..4ef3285 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.89 2003/09/29 23:56:15 dkf Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.90 2003/10/03 20:42:06 dgp Exp $ */ #include "tclInt.h" @@ -2611,11 +2611,9 @@ CallCommandTraces(iPtr, cmdPtr, oldName, newName, flags) * must get the name from cmdPtr */ CONST char *newName; /* Command's new name, or NULL if * the command is not being renamed */ - int flags; /* Flags passed to trace procedures: - * indicates what's happening to command, - * plus other stuff like TCL_GLOBAL_ONLY, - * TCL_NAMESPACE_ONLY, and - * TCL_INTERP_DESTROYED. */ + int flags; /* Flags indicating the type of traces + * to trigger, either TCL_TRACE_DELETE + * or TCL_TRACE_RENAME. */ { register CommandTrace *tracePtr; ActiveCommandTrace active; |