summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-06-20 19:23:23 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-06-20 19:23:23 (GMT)
commitf1797e198ccb2c3a784d65272c7eb5d3fa9ca502 (patch)
tree0e644758f52d7718407a6c283c2c79b8b65cbec9 /generic
parentf0c083ee48e56d7bbe529ee2182271bffce11aad (diff)
downloadtcl-f1797e198ccb2c3a784d65272c7eb5d3fa9ca502.zip
tcl-f1797e198ccb2c3a784d65272c7eb5d3fa9ca502.tar.gz
tcl-f1797e198ccb2c3a784d65272c7eb5d3fa9ca502.tar.bz2
* generic/tclInterp.c: Fixed completely boneheaded mistake that
* tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/event.test: -singleproc 1 test suite run. * tests/io.test:
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInterp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 1f2921a..78772bd 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.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: tclInterp.c,v 1.83 2008/01/30 10:45:55 msofer Exp $
+ * RCS: @(#) $Id: tclInterp.c,v 1.83.2.1 2008/06/20 19:23:25 dgp Exp $
*/
#include "tclInt.h"
@@ -2061,9 +2061,9 @@ SlaveBgerror(
NULL);
return TCL_ERROR;
}
- TclSetBgErrorHandler(interp, objv[0]);
+ TclSetBgErrorHandler(slaveInterp, objv[0]);
}
- Tcl_SetObjResult(interp, TclGetBgErrorHandler(interp));
+ Tcl_SetObjResult(interp, TclGetBgErrorHandler(slaveInterp));
return TCL_OK;
}