Skip to content
Tcl Source Code Artifact [773df72542]
Login

Artifact [773df72542]

Artifact 773df72542670c431bcf8481d70d23483c47d047:

Ticket change [773df72542] - Closed ticket [1119780fffffffff|1119780fff]: <i>Tcl_BadChannelOption incorrect operation on stacked channels</i> plus 7 other changes by andreas_kupries on 2005-10-06 04:27:35.
D 2005-10-06T04:27:35
J closedate 2005-10-05T21:27:35
J closer andreas_kupries
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nI\ssee\sno\sproblem\shere.\sThe\sTcl_GetchannelOption\sAPI\sinvokes\nthe\sdriver\sof\sthe\stop\schannel,\sand\sit\sis\sexpected\sthat\sa\nchannel\scalls\sthe\schannel\sbelow\sif\snecessary.\sI.e.\sthe\scode\nis\sgoing\sthrough\sthe\sstack\sfrom\sthe\stop\sdown\sto\sthe\sbase\schannel\n\nIn\sthe\scase\sof\s"optionName\s==\sNULL"\sthis\smeans\sthat\sthe\nchannels\swrite\stheir\sconfiguration\sinto\sthe\sresult,\sand\sthe\norder\sis\snot\sfully\sspecified,\sas\sa\schannel\smay\sinvoke\sthe\nchannel\sbelow\sbefore\sor\safter\sit\shas\swritten\sits\sown\nconfiguration.\sIn\sthis\ssituation\sTcl_BadChannelOption\s(TBCO)\nis\snot\scalled.\n\nIn\sthe\scase\s"optionName\s!=\sNULL"\sthe\sreceiving\schannel\nhandles\sall\soptions\sit\sknows.\sThere\sis\sno\sTBCO\scall.\sUnknown\noptions\showever\sare\spassed\sto\sthe\slower\slayer.\sAgain\sthe\nchannel/transformation\sdoes\snot\scall\sTBCO.\sIt\sis\sonly\sthe\nlowest\slayer,\sthe\sbase\schannel\swhich\scan\sdecide\sthat\syes,\nthis\soption\sis\struly\snot\sknown\sby\sanyone,\snot\seven\sme.\sThis\nlayer\sthen\scalls\sTBCO.\sNobody\selse.\sThus\swhen\sthe\scall\sstack\nis\sunwound\sno\scalls\sto\sTBCO\swill\sreplace\sthe\serror\sfrom\sthe\nlower\slayer.\n\n
J login andreas_kupries
J mimetype text/plain
J resolution Invalid
J status Closed
J username andreas_kupries
K 1119780fffffffffffffffffffffffffffffffff
U andreas_kupries
Z 91486f513d3aa44414f67c00ffabbe02