diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2008-07-14 00:11:32 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2008-07-14 00:11:32 (GMT) |
commit | 4e378306f429f7d5e125b91cecf54ef4fcf6b31b (patch) | |
tree | 1724c53491a08f1824f58d41d4e1bbc425c01493 /generic/tclProc.c | |
parent | ad35d9b5b7a3de682d371c0bb686815f1c5e849e (diff) | |
download | tcl-4e378306f429f7d5e125b91cecf54ef4fcf6b31b.zip tcl-4e378306f429f7d5e125b91cecf54ef4fcf6b31b.tar.gz tcl-4e378306f429f7d5e125b91cecf54ef4fcf6b31b.tar.bz2 |
* generic/tclBasic.c.: NRE left too many calls to
* generic/tclExecute.c: TclResetCancellation lying around: it
* generic/tclProc.c: only needs to be called prior to any
iPtr->numLevels++. Thanks mistachkin.
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r-- | generic/tclProc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c index 90cac16..70f2921 100644 --- a/generic/tclProc.c +++ b/generic/tclProc.c @@ -12,7 +12,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.143 2008/07/13 09:03:35 msofer Exp $ + * RCS: @(#) $Id: tclProc.c,v 1.144 2008/07/14 00:11:33 msofer Exp $ */ #include "tclInt.h" @@ -1811,8 +1811,6 @@ TclNRInterpProcCore( * Invoke the commands in the procedure's body. */ - TclResetCancellation(interp, 0); - procPtr->refCount++; codePtr = procPtr->bodyPtr->internalRep.otherValuePtr; if (TCL_DTRACE_PROC_ENTRY_ENABLED()) { |