Skip to content
Tcl Source Code Artifact [8a04aef41f]
Login

Artifact [8a04aef41f]

Artifact 8a04aef41fe6130bdd18de4d2d4df3ae7602a5aa:

Manifest of check-in [8a04aef41f] - 2000-01-30 Don Porter <[email protected]> * generic/tclIO.c (CopyData): Moved code that updates the count of how many bytes are left to copy. Corrects bug that when writing occurs in the background, the copy loop could be escaped without updating the count, causing CopyData() to try to copy more bytes than the toRead value originally passed to TclCopyChannel(), leading to hangs and misreporting of number of bytes copied. [Bug 118203, Patch 103432] by dgp on 2001-01-30 17:32:06.
B f44e486cdff1f9ea3453b7837b273cc123b86afe
C 2000-01-30\s\sDon\sPorter\s\s<[email protected]>\n\t*\sgeneric/tclIO.c\s(CopyData):\sMoved\scode\sthat\supdates\sthe\scount\n\tof\show\smany\sbytes\sare\sleft\sto\scopy.\s\sCorrects\sbug\sthat\swhen\n\twriting\soccurs\sin\sthe\sbackground,\sthe\scopy\sloop\scould\sbe\n\tescaped\swithout\supdating\sthe\scount,\scausing\sCopyData()\sto\stry\n\tto\scopy\smore\sbytes\sthan\sthe\stoRead\svalue\soriginally\spassed\sto\n\tTclCopyChannel(),\sleading\sto\shangs\sand\smisreporting\sof\snumber\n\tof\sbytes\scopied.\s[Bug\s118203,\sPatch\s103432]\n
D 2001-01-30T17:32:06
F ChangeLog 86b5c448b643fe1fd7eb332680a91d1e1e704d2d
F generic/tclIO.c eb6580f553c8a4561b94464236a09cb99d23aadb
P 6522bf9d78fd0986c73931318cc7ff4db7b5cb52
U dgp
Z 40ea0bd05950536f4d137c552e618ce3