<i>[chan copy] overruns slow receiver</i> status still Open with 4 other changes
by
.
D 2010-03-09T00:00:23
J icomment We\shad\sa\ssimilar\sthing\son\sthe\sread\sside.\sIt\sis\snow\sclear\sthat\sI\sshould\shave\schecked\sthe\swrite\sside\sfor\sequivalent\sproblems,\sand\smy\sblithe\sassumptions\sthat\sthere\sshould\snot\sbe\ssuch\swas\swrong.\sHere\sis\sthe\sChangeLog\sentry.\n\n2009-08-06\s\sAndreas\sKupries\s\s<[email protected]>\n\n*\sdoc/refchan.n\s[Bug\s2827000]:\sExtended\sthe\simplementation\sof\n*\sgeneric/tclIORChan.c:\sreflective\schannels\s(TIP\s219,\smethod\n*\stests/ioCmd.test:\s'read'),\senabling\shandlers\sto\ssignal\sEAGAIN\sto\nindicate\s'no\sdata,\sbut\snot\sat\sEOF\seither',\sand\sother\ssystem\nerrors.\sUpdated\sdocumentation,\sextended\stestsuite\s(New\stest\scases\niocmd*-23.{9,10}).\n\nIf\seither\sEAGAIN\s\sor\sEWOULDBLOCK\swork\sfor\sthe\swrite-side\sI\swould\sprefer\sEAGAIN,\sand\ssignaling\sas\sa\sliteral\serror\sof\sthis\skind,\si.e.\n\n\s\s\s\sreturn\s-code\serror\sEAGAIN,\sor\n\s\s\s\serror\sEGAIN\n\nJust\sto\sbe\sconsistent\swith\sthe\sread\sside,\sin\sboth\smethod\sand\svalue\sof\ssignaling.\sOf\sthese\stwo\sI\sam\smore\swedded\sto\sconsistency\sin\sthe\smethod\sof\ssignaling,\si.e.\sthrowing\san\serror\sinstead\sof\susing\sin-band\ssignaling\sthrough\sa\sspecial\sreturn\svalue\sfor\sthe\s#of\swritten\schars.\sI.e.\sif\sEWOULDBLOCK\sis\sconsidered\sto\sbe\sthe\sbetter\ssignal\svalue,\sthen\slet\sus\sgo\swith\sthat.\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 2936225fffffffffffffffffffffffffffffffff
U andreas_kupries
Z 2f6c4568d315f3e1db06168fe727fc96