summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2002-07-25 22:06:34 (GMT)
committerjenglish <jenglish@flightlab.com>2002-07-25 22:06:34 (GMT)
commit63204dfc87cd527e35332820b3be678f1e7eac30 (patch)
tree0f967cd76af6289f5aa41e0d9965171b63130bf3 /generic
parenta6a5373dd2bd59dd50da3bc891e60dd68a79b3d0 (diff)
downloadtcl-63204dfc87cd527e35332820b3be678f1e7eac30.zip
tcl-63204dfc87cd527e35332820b3be678f1e7eac30.tar.gz
tcl-63204dfc87cd527e35332820b3be678f1e7eac30.tar.bz2
Fix for Tk Bug #219218 "error handling with bgerror in Tk"
Diffstat (limited to 'generic')
-rw-r--r--generic/tclProc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 4c656b4..57829ba 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.39 2002/07/16 01:12:50 msofer Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.40 2002/07/25 22:06:35 jenglish Exp $
*/
#include "tclInt.h"
@@ -1071,7 +1071,7 @@ TclObjInterpProc(clientData, interp, objc, objv)
iPtr->returnCode = TCL_OK;
procPtr->refCount++;
- result = Tcl_EvalObjEx(interp, procPtr->bodyPtr, 0);
+ result = TclCompEvalObj(interp, procPtr->bodyPtr);
procPtr->refCount--;
if (procPtr->refCount <= 0) {
TclProcCleanupProc(procPtr);