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: |
1c08e33e953d0680497528facc19905b |
| 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
Modified ChangeLog
from [8f32da03a1]
to [84e2e7152d].
[diff]
Modified generic/tclIO.c
from [2e65a3bcb6]
to [075ab61e4b].
[diff]
Modified tests/io.test
from [6405067ca6]
to [7c3ef2cf2a].
[diff]
Modified tests/socket.test
from [9d9ff6fcbf]
to [770c49d44d].
[diff]