Skip to content
Tcl Source Code Artifact [ff3d9ce481]
Login

Artifact [ff3d9ce481]

Artifact ff3d9ce481400b9de8c7dcfc2b20a6aee3fb17b8:

Ticket change [ff3d9ce481] - Ticket [2901998fffffffff|2901998fff] <i>Inconsistent buffered I/O</i> status still Open with 4 other changes by ferrieux on 2009-11-26 14:52:37.
D 2009-11-26T14:52:37
J icomment To\sclarify\sthe\sproposed\sfix:\sthe\sidea\sis\sto\n\n(1)\shave\sa\ssingle\sread+write\scursor,\sand\n(2)\shandle\sproperly\sthe\scase\sof\san\soverlap\sbetween\sthe\sinput\sand\soutput\sbuffers.\n\nThe\s(2)\shas\stwo\svariants:\n\n(2a)\sflush\sthe\soutput\sbuffer\sbefore\sa\sread\n(2b)\spatch\sthe\sinput\sbuffer\swith\sthe\soverlapping\spart\sof\sthe\soutput\sbuffer\n\nObviously\s(2a)\shas\sthe\sadvantage\sof\ssimplicity,\sbut\sgenerates\smore\sflushes,\ssome\sof\sthem\sduring\s[read]s.\nWhile\s(2b)\spreserves\sthe\s"filesystem\scache"\smodel\sof\sa\ssingle\sI/O\sRAM\sbuffer,\swithout\schanging\sthe\sinternal\stwo-buffer\sstructure.\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2901998fffffffffffffffffffffffffffffffff
U ferrieux
Z 12e92c47a50457c61c9c22f9965ef4f0