diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-22 08:32:10 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-22 08:32:10 (GMT) |
commit | 133af7524b7bdfc62eb504a932faef09a0ae03e9 (patch) | |
tree | b390e58f8a2de155a3ad9772da177165e60a0adc /generic/tclIO.c | |
parent | 0fcb3ce5dcddcc07e9c3f294dc146a4442e9efbb (diff) | |
download | tcl-133af7524b7bdfc62eb504a932faef09a0ae03e9.zip tcl-133af7524b7bdfc62eb504a932faef09a0ae03e9.tar.gz tcl-133af7524b7bdfc62eb504a932faef09a0ae03e9.tar.bz2 |
Since TCL_ENCODING_PROFILE_DEFAULT == TCL_ENCODING_PROFILE_TCL8 (on Tcl 8), we can simplify.
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 7f74e2e..b574e0d 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -1703,11 +1703,11 @@ Tcl_CreateChannel( statePtr->inputEncodingState = NULL; statePtr->inputEncodingFlags = TCL_ENCODING_START; TCL_ENCODING_PROFILE_SET(statePtr->inputEncodingFlags, - TCL_ENCODING_PROFILE_DEFAULT); + TCL_ENCODING_PROFILE_TCL8); statePtr->outputEncodingState = NULL; statePtr->outputEncodingFlags = TCL_ENCODING_START; TCL_ENCODING_PROFILE_SET(statePtr->outputEncodingFlags, - TCL_ENCODING_PROFILE_DEFAULT); + TCL_ENCODING_PROFILE_TCL8); /* * Set the channel up initially in AUTO input translation mode to accept |