summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authorandreask <andreask>2011-09-21 17:13:53 (GMT)
committerandreask <andreask>2011-09-21 17:13:53 (GMT)
commitfa18389469985cb82730db620495c814e434e619 (patch)
tree535bf7a88b429f87bf269b38008e48bd534a0f33 /generic/tclIORTrans.c
parentf250b157359a2a80012fd92403a0c220aa5806c3 (diff)
downloadtcl-fa18389469985cb82730db620495c814e434e619.zip
tcl-fa18389469985cb82730db620495c814e434e619.tar.gz
tcl-fa18389469985cb82730db620495c814e434e619.tar.bz2
* generic/tclIORTrans.c (ForwardOpToOwnerThread): Fixed the
missing initialization of the 'dsti' field. Reported by Don Porter, on chat.
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index ef37d5c..0617df3 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -2403,6 +2403,7 @@ ForwardOpToOwnerThread(
resultPtr->src = Tcl_GetCurrentThread();
resultPtr->dst = dst;
+ resultPtr->dsti = rtPtr->interp;
resultPtr->done = NULL;
resultPtr->result = -1;
resultPtr->evPtr = evPtr;