Skip to content
Tcl Source Code Check-in [1c08e33e95]
Login

Check-in [1c08e33e95]

Overview
Comment: 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.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1c08e33e953d0680497528facc19905bafe5852e
User & Date: mdejong on 2002-01-25 23:06:58.000
Other Links: manifest | tags
Context
2002-01-26
01:10
* Sought out and eliminated instances of CONST-casting that are no longer needed after the TIP 27 ... check-in: 4bca1d26db user: dgp tags: trunk
2002-01-25
23:06
Make -eofchar and -translation options read only for server sockets. [Bug 496733] * generic/tclI... check-in: 1c08e33e95 user: mdejong tags: trunk
22:01
* [Patch 501006] Updated APIs in generic/tclResolve.c and generic/tclNamesp.c according to ... check-in: f9df4b63e5 user: dgp tags: trunk
Changes