diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2004-12-24 18:06:53 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2004-12-24 18:06:53 (GMT) |
commit | 3c1e7bd70247b897a1e6f47d8fcb6d50de880aea (patch) | |
tree | 3c5ff4f02494bc5285f2fcf529ccf0a76dd8885c /generic/tclProc.c | |
parent | 3f7f31fb81efcc04c41dcc79f2417a766353ad66 (diff) | |
download | tcl-3c1e7bd70247b897a1e6f47d8fcb6d50de880aea.zip tcl-3c1e7bd70247b897a1e6f47d8fcb6d50de880aea.tar.gz tcl-3c1e7bd70247b897a1e6f47d8fcb6d50de880aea.tar.bz2 |
Avoid sharing cmdName literals accross namespaces, and generalise usage of
the TclRegisterNewLiteral macro [Patch 1090905]
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r-- | generic/tclProc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c index 89434b3..54e1572 100644 --- a/generic/tclProc.c +++ b/generic/tclProc.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclProc.c,v 1.71 2004/12/20 21:20:06 msofer Exp $ + * RCS: @(#) $Id: tclProc.c,v 1.72 2004/12/24 18:07:01 msofer Exp $ */ #include "tclInt.h" @@ -1837,6 +1837,6 @@ TclCompileNoOp(interp, parsePtr, envPtr) } } envPtr->currStackDepth = savedStackDepth; - TclEmitPush(TclRegisterLiteral(envPtr, "", 0, /*onHeap*/ 0), envPtr); + TclEmitPush(TclRegisterNewLiteral(envPtr, "", 0), envPtr); return TCL_OK; } |