Skip to content
Tcl Source Code Artifact [a9634b2343]
Login

Artifact [a9634b2343]

Artifact a9634b234337fd1b8e3fae46ba6e2766b0214005:

Manifest of check-in [a9634b2343] - * generic/tclIORTrans.c (ReflectInput): Fixed a bug triggered by Pat Thoyts <[email protected]>. Reset the EOF flag after draining the Tcl level into the result buffer, to make sure that the result buffer will be drained as well by repeated calls to ReflectInput should it contain more than one buffer-full of data. Without that reset the higher I/O system will not call on ReflectInput anymore due to the assumed EOF, thus losing the data which did not fit in the buffer of the call which caused the eof and drain. by andreas_kupries on 2008-06-10 03:35:15.
B 057ba9eab5fa2d5b188d142e2cf480451db2ec55
C \n\t*\sgeneric/tclIORTrans.c\s(ReflectInput):\sFixed\sa\sbug\striggered\sby\n\tPat\sThoyts\s<[email protected]>.\sReset\sthe\sEOF\sflag\n\tafter\sdraining\sthe\sTcl\slevel\sinto\sthe\sresult\sbuffer,\sto\smake\ssure\n\tthat\sthe\sresult\sbuffer\swill\sbe\sdrained\sas\swell\sby\srepeated\scalls\n\tto\sReflectInput\sshould\sit\scontain\smore\sthan\sone\sbuffer-full\sof\n\tdata.\sWithout\sthat\sreset\sthe\shigher\sI/O\ssystem\swill\snot\scall\son\n\tReflectInput\sanymore\sdue\sto\sthe\sassumed\sEOF,\sthus\slosing\sthe\sdata\n\twhich\sdid\snot\sfit\sin\sthe\sbuffer\sof\sthe\scall\swhich\scaused\sthe\seof\n\tand\sdrain.\n
D 2008-06-10T03:35:15
F ChangeLog bbb6f35a7c19a8d0f56c52a872f55e8c613ee218
F generic/tclBasic.c e2db94cdddc1a83f597fafbc3108d84a042eb5ff
F generic/tclCompCmds.c 866263ec42c164ec428b61abf254ee9ee8d221aa
F generic/tclCompile.c 234cff65f162a3b8f8c0bb629ebcc976a80c38f0
F generic/tclCompile.h 045235b3304c0023d216acc3bfb23b4163a0c1ce
F generic/tclExecute.c af9d4c5ef9961a7b1d3ab4991ad2c614516dbbac
F generic/tclIORTrans.c ea37b5471427c6dd454ff0d4c0c27d3e73780e0a
F generic/tclOOCall.c dc3920c0f8c1f71a26c9db2b9050c7ffbe14767e
F generic/tclProc.c db0cbf7f5ef113a06da21c5ff67d185570dd9b46
F tests/uplevel.test 4aa6a54535e27af8182181c2b9437cd7320b4ce4
P a3fd190cc6297bce8f63a362417e720751f52886
U andreas_kupries
Z b1b68eb4bd0ba57410fae47cafd7a3a2