Skip to content
Tcl Source Code Artifact [ddc1b09ee7]
Login

Artifact [ddc1b09ee7]

Artifact ddc1b09ee799fe9184379b74537c4a11d2716fa7:

Manifest of check-in [ddc1b09ee7] - 2000-07-10 Andreas Kupries <[email protected]> * tests/iogt.test: Reverted some earlier changes as a fix by Jeff revived the original and correct behaviour. IOW, the tests showed a genuine error and I didn't see it :(. * generic/tclIO.c (Tcl_Read|Write_Raw): Changed to directly use the drivers and not DoRead|DoWrite. The latter use the buffering system, encoding and eol-translation and this wreaks havoc with the data going through the transformations. Both procedures use CheckForchannelErrors and let it believe that there is no background copy in progress or else stacked channels could not be used for that. * generic/tclIO.c (TclCopyChannel, CopyData): Moved access to the topmost channel from the first to the second procedure to make the decision about that at the last possible time (Callbacks can change the stacking). test suite: failures of iogt-[345].0 by kupries on 2000-07-10 17:35:54.
B b684e61b815e3b37c40dced9b19ef8838e7336f0
C 2000-07-10\s\sAndreas\sKupries\s<[email protected]>\n\n\t*\stests/iogt.test:\sReverted\ssome\searlier\schanges\sas\sa\sfix\sby\sJeff\n\t\s\srevived\sthe\soriginal\sand\scorrect\sbehaviour.\sIOW,\sthe\stests\sshowed\n\t\s\sa\sgenuine\serror\sand\sI\sdidn't\ssee\sit\s:(.\n\n\t*\sgeneric/tclIO.c\s(Tcl_Read|Write_Raw):\sChanged\sto\sdirectly\suse\n\s\t\s\sthe\sdrivers\sand\snot\sDoRead|DoWrite.\sThe\slatter\suse\sthe\sbuffering\n\s\t\s\ssystem,\sencoding\sand\seol-translation\sand\sthis\swreaks\shavoc\swith\n\s\t\s\sthe\sdata\sgoing\sthrough\sthe\stransformations.\sBoth\sprocedures\suse\n\s\t\s\sCheckForchannelErrors\sand\slet\sit\sbelieve\sthat\sthere\sis\sno\n\s\t\s\sbackground\scopy\sin\sprogress\sor\selse\sstacked\schannels\scould\snot\n\t\s\sbe\sused\sfor\sthat.\n\n\t*\sgeneric/tclIO.c\s(TclCopyChannel,\sCopyData):\sMoved\saccess\sto\sthe\n\s\t\s\stopmost\schannel\sfrom\sthe\sfirst\sto\sthe\ssecond\sprocedure\sto\smake\n\s\t\s\sthe\sdecision\sabout\sthat\sat\sthe\slast\spossible\stime\s(Callbacks\scan\n\s\t\s\schange\sthe\sstacking).\n\n\ttest\ssuite:\sfailures\sof\siogt-[345].0\n
D 2000-07-10T17:35:54
F ChangeLog 3801bd09b06909f09635bb63bcad94af330ce310
F generic/tclIO.c d41387d774ed3e9691d9def83a53593af56d6240
F tests/iogt.test 61e75bc6ac1f00a3e4b23ce92ee766388eb653fe
P b684e61b815e3b37c40dced9b19ef8838e7336f0
U kupries
Z 435f26d3f3ae6cedc94485fb3073769b