Skip to content
Tcl Source Code Artifact [142d759dfa]
Login

Artifact [142d759dfa]

Artifact 142d759dfa8dc847877974ddc75e0123470e04e19a5c0eea598eeafdd4df93c0:

Ticket change [142d759dfa] - New ticket [32318b14cbdd22aa|32318b14cb] <i>transchan documentation around &#39;clear&#39; is misleading/incomplete</i>. by juliannoble2 on 2026-08-01 04:48:47.
D 2026-08-01T04:48:47.027
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment transchan\sdocumentation\ssays\s"called\swhen\sa\schan\sseek\sis\sperformed\son\sthe\schannel\s"\sand\sdoesn't\sinform\sthat\swhen\sa\stransform\sdeclares\sthe\smethod,\sit\sis\scalled\sbefore\severy\swrite.\r\nThe\sbehaviour\sseems\sintentional\s(tests/ioTrans.test\siortrans-78.1\s"chan\swrite,\swrite\sclears\sread\sbuffers")\r\nBut\sthe\sdocs\sgive\sno\sindication,\swhich\scan\sbite\sin\snot-immediately-obvious\sways\s(intermittent\sdue\sto\schunking\sboundaries)\sif\sa\stransform\simplementer\snaively\sclears\sall\sbuffered\sstate\sthinking\sit's\sobligatory.\r\n\r\nTip\s230\sdoes\sindicate\simplementing\s'clear'\sis\soptional\sif\syou\s*don't*\shave\sany\sinternal\sbuffers\sto\sclear\s-\sbut\salso\ssays\s"This\shappens\sonly\swhen\sthe\suser\sseeks\sthe\schannel\sthe\stransformation\sis\sattached\sto."
J is_private 0
J login juliannoble2
J priority 5\sMedium
J private_contact 957fdfcd8744611e3fe1f4896c7538b1d9bf47b2
J resolution None
J severity Minor
J status Open
J submitter juliannoble2
J subsystem 26.\sChannel\sTransforms
J title transchan\sdocumentation\saround\s'clear'\sis\smisleading/incomplete
J type RFE
K 32318b14cbdd22aa289d3f4e800fc0417bfa617a
U juliannoble2
Z 15b21e0ec018896051a382f092da8128