summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 7e793a9..6052c43 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -8840,9 +8840,7 @@ TclCopyChannel(
moveBytes = inStatePtr->inEofChar == '\0' /* No eofChar to stop input */
&& inStatePtr->inputTranslation == TCL_TRANSLATE_LF
&& outStatePtr->outputTranslation == TCL_TRANSLATE_LF
- && ((inStatePtr->encoding == NULL
- && outStatePtr->encoding == NULL)
- || (inStatePtr->encoding == outStatePtr->encoding))
+ && inStatePtr->encoding == outStatePtr->encoding
&& !nonBlocking; /* First draft do only blocking case */
/*