summaryrefslogtreecommitdiffstats
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
parenta6a5373dd2bd59dd50da3bc891e60dd68a79b3d0 (diff)
downloadtcl-63204dfc87cd527e35332820b3be678f1e7eac30.zip
tcl-63204dfc87cd527e35332820b3be678f1e7eac30.tar.gz
tcl-63204dfc87cd527e35332820b3be678f1e7eac30.tar.bz2
Fix for Tk Bug #219218 "error handling with bgerror in Tk"
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclProc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f8ca3e7..ff56051 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-25 Joe English <jenglish@users.sourceforge.net>
+ * generic/tclProc.c: fix for Tk Bug #219218 "error handling
+ with bgerror in Tk"
+
2002-07-24 Miguel Sofer <msofer@users.sourceforge.net>
* generic/tclExecute.c: restoring full TCL_COMPILE_DEBUG
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);