Skip to content
Tcl Source Code Artifact [93fa184cb2]
Login

Artifact [93fa184cb2]

Artifact 93fa184cb298066e66e5f3b3bcb6eb137685aa23:

Ticket change [93fa184cb2] - Ticket [2827000fffffffff|2827000fff] <i>tcl incorrectly reports eof to application</i> status still Open with 4 other changes by andreas_kupries on 2009-07-29 02:21:16.
D 2009-07-29T02:21:16
J icomment Line\s72\sof\schan.tcl,\smethod\s'initialize'.\s-blocking\s0\sat\sthis\spoint\sis\swrong.\sA\schannel\sstarts\sout\sin\smode\s'blocking'.\sTo\sthen\sset\sthe\sunderlying\schannel\sinto\snon-blocking\swill\slikely\sconfuse\sthings\swhen\sit\scomes\sto\sreading,\sespecially\sregarding\sshort\sreads\s(Not\spossible\sin\sblocking\smode\sexcept\swhen\sreaching\seof.\sWith\sthe\sunderlying\schannel\sset\sto\snon-blocking\son\sinit\sthis\scan\sgive\sshort\sreads\sbefore\seof).\n\nNote\sthat\sthis\sshould\snot\shave\san\seffect\son\sthe\sproblem\swe\sare\slooking\sinto,\sbecause\sthere\sboth\schannels\sare\sset\snon-blocking.\sWell,\sshould\sbe,\sand\sthe\ssave.anno\slog\sseems\sto\sconcur.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 2827000fffffffffffffffffffffffffffffffff
U andreas_kupries
Z f5cb6c995c198aa88c29668739246d7d