Skip to content
Tcl Source Code Artifact [ef568c52d6]
Login

Artifact [ef568c52d6]

Artifact ef568c52d688acb6f8f8dec9af880afb24b96422:

Manifest of check-in [ef568c52d6] - 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. by mdejong on 2002-01-26 00:30:30.
B fa97315c9cab2d4a166109a69a1f7a3bdc9a40cc
C \tMake\s-eofchar\sand\s-translation\soptions\sread\sonly\sfor\n\tserver\ssockets.\s[Bug\s496733]\n\n\t*\sgeneric/tclIO.c\s(Tcl_GetChannelOption,\sTcl_SetChannelOption):\n\tInstead\sof\sreturning\snothing\sfor\sthe\s-translation\soption\n\ton\sa\sserver\ssocket,\salways\sreturn\s"auto".\sReturn\sthe\sempty\n\tstring\senclosed\sin\squotes\sfor\sthe\s-eofchar\soption\son\n\ta\sserver\ssocket.\sFixup\s-eofchar\susage\smessage\sso\sthat\n\tit\smatches\sthe\simplementation.\n\t*\stests/io.test:\sAdd\s-eofchar\stests\sand\s-translation\stests\n\tto\sensure\soptions\sare\sread\sonly\son\sserver\ssockets.\n\t*\stests/socket.test:\sUpdate\stests\sto\saccount\sfor\s-eofchar\n\tand\s-translation\soption\schanges.\n
D 2002-01-26T00:30:30
F ChangeLog af5492165a06ec5454a4d555698dc12c9f960712
F generic/tclIO.c 6054240a7b55d9961c29a685c5b9eb7ef978041c
F library/http/http.tcl a0a19e1fcdbf321bc8b48c3a8b0539d6d7efdfc5
F library/http/pkgIndex.tcl 8f91c6815b0d637e7ed36b3c44e4f50e8ab55dac
F tests/io.test 8c51349b5ec703539c838bf741ae060c29fbf050
F tests/socket.test 594b1193e511ebcf8b67e8a0bbaacd23cf12229c
P 08d546970a14722e286df01ac473fb628e9bda28
U mdejong
Z 25d9a3822d2497defb3e4fc89d0271f5