Skip to content
Tcl Source Code Artifact [31c20c1c33]
Login

Artifact [31c20c1c33]

Artifact 31c20c1c330c30ec093cc32d47a5278c36be2f75:

Ticket change [31c20c1c33] - Closed ticket [3603553fffffffff|3603553fff]: <i>Problem width file larger 36K</i> plus 7 other changes by dkf on 2013-02-11 16:15:16.
D 2013-02-11T16:15:16
J closedate 2013-02-11T09:15:16
J closer dkf
J icomment \n\nallow_comments\s-\s1\n\nOK,\sthis\sone\sis\sevil.\sThe\sproblem\sis\sthat\sif,\swhen\s*not*\sflushing,\sthe\sbuffer\sinside\szlib\sitself\s(32kB)\sfills\sup,\sit\sasks\sfor\sTk\sto\swrite\sthat\sbuffer\sout\s(in\s8kB\schunks),\syet\sTk\swas\sgetting\sthat\swrong\sand\snot\swriting\sanything\sat\sall!\sOnly\sdata\swritten\sat\sa\sflushing\spoint,\sor\swhen\sthe\schannel\swas\sbeing\sclosed,\swas\sgetting\scorrectly\sthrough.\sThus,\sany\sattempt\sto\swrite\sdata\sthat\swas\slarger\sthan\s32kB\s*after*\scompression\swould\sfail\sunless\sextensive\seffort\swas\smade\sto\sforce\sflushes.\sOuch.\n\nDoubly\sembarrassing\swas\sthat\sthis\swas\sa\sone-line\sfix.\sThe\sreal\sbug\swas\sthat\sthe\scondition\son\scode\sto\sdo\sthe\swrites\swas\scomparing\sthe\snumber\sof\sfree\sbytes\sin\sthe\sbuffer\s(with\szero)\sinstead\sof\sthe\snumber\sof\sbytes\sto\swrite\s(with\szero).\sDuh!\n\nFixed.\n
J login dkf
J mimetype text/plain
J resolution Fixed
J status Closed
J username dkf
K 3603553fffffffffffffffffffffffffffffffff
U dkf
Z c4019475655332608fd1f57ac068d53c