summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog6
-rw-r--r--generic/tclIORTrans.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 360e527..25a96be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-09-21 Andreas Kupries <andreask@activestate.com>
+
+ * generic/tclIORTrans.c (ForwardOpToOwnerThread): Fixed the
+ missing initialization of the 'dsti' field. Reported by Don
+ Porter, on chat.
+
2011-09-20 Don Porter <dgp@users.sourceforge.net>
* generic/tclIORChan.c: Re-using the "interp" field to signal a dead
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;