diff options
author | mdejong <mdejong> | 2002-01-25 23:06:58 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-01-25 23:06:58 (GMT) |
commit | 727dc02ba3e05c4df81068bc3fd0ac3a8c98328b (patch) | |
tree | 75339e2bd4ffcbce34c5e3b7c788743e68e0c163 /mac/tclMacFCmd.c | |
parent | fc040221576dad87475a85d33aba99c043e39c36 (diff) | |
download | tcl-727dc02ba3e05c4df81068bc3fd0ac3a8c98328b.zip tcl-727dc02ba3e05c4df81068bc3fd0ac3a8c98328b.tar.gz tcl-727dc02ba3e05c4df81068bc3fd0ac3a8c98328b.tar.bz2 |
Make -eofchar and -translation options read only for
server sockets. [Bug 496733]
* generic/tclIO.c (Tcl_GetChannelOption, Tcl_SetChannelOption):
Instead of returning nothing for the -translation option
on a server socket, always return "auto". Return the empty
string enclosed in quotes for the -eofchar option on
a server socket. Fixup -eofchar usage message so that
it matches the implementation.
* tests/io.test: Add -eofchar tests and -translation tests
to ensure options are read only on server sockets.
* tests/socket.test: Update tests to account for -eofchar
and -translation option changes.
Diffstat (limited to 'mac/tclMacFCmd.c')
0 files changed, 0 insertions, 0 deletions