Skip to content
Tcl Source Code Artifact [b82f00d685]
Login

Artifact [b82f00d685]

Artifact b82f00d685d0db48e00b1966e8a75def907291ce:

Ticket change [b82f00d685] - Ticket [2901998fffffffff|2901998fff] <i>Inconsistent buffered I/O</i> status still Open with 4 other changes by andreas_kupries on 2009-12-02 03:03:59.
D 2009-12-02T03:03:59
J icomment Note\sthe\scode\sin\srev\s1.168\sof\stclIO.c,\slines\s6782\sto\s6847.\sThis\sis\sinside\sof\sTcl_Seek\s\sand\show\sit\sflushes\spending\soutput.\sTaking\scare\sof\sasync\sand\ssuch\sas\swell.\sIs\syour\schannel\spossibly\sset\sto\s-blocking\s0\s?\n\nI\spropose\sthat\swe\sre-use\sthis\scode,\sputting\sas\smuch\sas\spossible\sinto\sone\sor\stwo\sfunctions\swhich\scan\sthen\sbe\scalled\sfrom\sthe\sread\scode\sas\swell.\s(2\sfunctions\sbecause\sseek\sneeds\sthis\saround\sthe\sseek,\sand\sfor\sread/gets\swe\swill\slikely\sneed\sboth\scalled\sbefore\sreading)\n\nLooking\sfurther\s...\sI\ssee\sthe\sreplacement\sof\sa\sTcl_Seek(0,CURR)\sby\sWillRead/Write\s...\sLet\sus\stry\sto\sget\sthis\sworking\swithout\sthe\sreplacement,\sand\sthen\swe\scan\stry\sif\sthe\sreplacement\sis\sa\sproper\sequivalence.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 2901998fffffffffffffffffffffffffffffffff
U andreas_kupries
Z a956d9bf7dbd6387877a1c24939e9050