summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authorkjnash <k.j.nash@usa.net>2022-10-26 12:35:18 (GMT)
committerkjnash <k.j.nash@usa.net>2022-10-26 12:35:18 (GMT)
commit1e0a98c9aa064a2472cb7a62b51b86252528782b (patch)
treee8abd26b5fc9a3e83614c3d3a01290eb551939f4 /win/tclWinChan.c
parent2ecf92f50b4fad000f8cf4b368ce47c6035bdf4c (diff)
parent42b1c587058185cf982966c733806b5d6dd8625d (diff)
downloadtcl-1e0a98c9aa064a2472cb7a62b51b86252528782b.zip
tcl-1e0a98c9aa064a2472cb7a62b51b86252528782b.tar.gz
tcl-1e0a98c9aa064a2472cb7a62b51b86252528782b.tar.bz2
Merge 8.7
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r--win/tclWinChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index 62991fc..166636c 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -1325,7 +1325,7 @@ TclpGetDefaultStdChannel(
*/
if (Tcl_SetChannelOption(NULL,channel,"-translation","auto")!=TCL_OK ||
- Tcl_SetChannelOption(NULL,channel,"-eofchar","\032 {}")!=TCL_OK ||
+ Tcl_SetChannelOption(NULL,channel,"-eofchar","\x1A {}")!=TCL_OK ||
Tcl_SetChannelOption(NULL,channel,"-buffering",bufMode)!=TCL_OK) {
Tcl_Close(NULL, channel);
return (Tcl_Channel) NULL;
@@ -1402,7 +1402,7 @@ TclWinOpenFileChannel(
*/
Tcl_SetChannelOption(NULL, infoPtr->channel, "-translation", "auto");
- Tcl_SetChannelOption(NULL, infoPtr->channel, "-eofchar", "\032 {}");
+ Tcl_SetChannelOption(NULL, infoPtr->channel, "-eofchar", "\x1A {}");
return infoPtr->channel;
}