summaryrefslogtreecommitdiffstats
path: root/generic/tclIORChan.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-01-26 16:08:26 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-01-26 16:08:26 (GMT)
commitcd18aecedc21c53646faaf9da9aa1cd2209eac2e (patch)
tree7c4972ee248c7b66a9ef95474484223824e02c1c /generic/tclIORChan.c
parent81ff18c2b630d51f598641ab3e497268b76550ca (diff)
parent0ea26c667c774bfee4e090ec52f391fad0af7ca5 (diff)
downloadtcl-cd18aecedc21c53646faaf9da9aa1cd2209eac2e.zip
tcl-cd18aecedc21c53646faaf9da9aa1cd2209eac2e.tar.gz
tcl-cd18aecedc21c53646faaf9da9aa1cd2209eac2e.tar.bz2
merge 8.5
Diffstat (limited to 'generic/tclIORChan.c')
-rw-r--r--generic/tclIORChan.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c
index bbb5b88..c9939d6 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -516,7 +516,6 @@ TclChanCreateObjCmd(
* Expect at least one list element. Abbreviations are ok.
*/
- modeObj = objv[MODE];
if (EncodeEventMask(interp, "mode", objv[MODE], &mode) != TCL_OK) {
return TCL_ERROR;
}
@@ -1109,7 +1108,7 @@ ReflectClose(
if (rcPtr->interp) {
rcmPtr = GetReflectedChannelMap (rcPtr->interp);
- hPtr = Tcl_FindHashEntry (&rcmPtr->map,
+ hPtr = Tcl_FindHashEntry (&rcmPtr->map,
Tcl_GetChannelName (rcPtr->chan));
if (hPtr) {
Tcl_DeleteHashEntry (hPtr);
@@ -1117,7 +1116,7 @@ ReflectClose(
}
#ifdef TCL_THREADS
rcmPtr = GetThreadReflectedChannelMap();
- hPtr = Tcl_FindHashEntry (&rcmPtr->map,
+ hPtr = Tcl_FindHashEntry (&rcmPtr->map,
Tcl_GetChannelName (rcPtr->chan));
if (hPtr) {
Tcl_DeleteHashEntry (hPtr);
@@ -2750,12 +2749,12 @@ ForwardProc(
*/
rcmPtr = GetReflectedChannelMap (interp);
- hPtr = Tcl_FindHashEntry (&rcmPtr->map,
+ hPtr = Tcl_FindHashEntry (&rcmPtr->map,
Tcl_GetChannelName (rcPtr->chan));
Tcl_DeleteHashEntry (hPtr);
rcmPtr = GetThreadReflectedChannelMap();
- hPtr = Tcl_FindHashEntry (&rcmPtr->map,
+ hPtr = Tcl_FindHashEntry (&rcmPtr->map,
Tcl_GetChannelName (rcPtr->chan));
Tcl_DeleteHashEntry (hPtr);