diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-17 10:49:43 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-17 10:49:43 (GMT) |
commit | e50b4e4c5965bae47fc77840198c415d83302b44 (patch) | |
tree | 349a3683b10dffdd266c2113bb357c7140819eb8 /win/tclWinPipe.c | |
parent | 6cda753ae057b0c4e0b485b64262b5d61de28334 (diff) | |
parent | a11e803c73d6d21deac044f8ab5601a7a2e5a3bb (diff) | |
download | tcl-e50b4e4c5965bae47fc77840198c415d83302b44.zip tcl-e50b4e4c5965bae47fc77840198c415d83302b44.tar.gz tcl-e50b4e4c5965bae47fc77840198c415d83302b44.tar.bz2 |
Merge 9.0. Change the default -eofchar on Windows
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r-- | win/tclWinPipe.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index 62820a7..3fd3d7e 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.c @@ -1827,14 +1827,7 @@ TclpCreateCommandChannel( infoPtr->channel = Tcl_CreateChannel(&pipeChannelType, channelName, infoPtr, infoPtr->validMask); - /* - * Pipes have AUTO translation mode on Windows and ^Z eof char, which - * means that a ^Z will be appended to them at close. This is needed for - * Windows programs that expect a ^Z at EOF. - */ - Tcl_SetChannelOption(NULL, infoPtr->channel, "-translation", "auto"); - Tcl_SetChannelOption(NULL, infoPtr->channel, "-eofchar", "\032 {}"); return infoPtr->channel; } |