<i>non-blocking IO write truncation</i> status still Open with 3 other changes
by
.
D 2016-04-16T07:02:09.136
J icomment Since\sTIP#398\s(accepted\sand\scommitted\son\s2012-04-28),\snonblocking\schannels\sare\sno\slonger\sforced\sback\sto\sblocking\swhen\sclosing\sor\sexiting.\sThis\swas\sneeded\sto\savoid\sblocking\sindefinitely\son\sa\spossibly\sfrozen\speer.\r\n\r\nIt\sappears\sthat\syour\scode\sdepended\son\sthe\sprevious\sbehavior.\sThat's\swhat\sis\sexpected\swhen\stagging\san\sevolution\s*POTENTIAL\sINCOMPATIBILITY*,\swhich\sis\sthe\scase\sof\sTIP#398.\r\n\r\nThe\sreason\swhy\sit\shit\syou\son\san\sOS\supgrade\srather\sthan\sa\sTcl\supgrade,\sI\sguess,\sis\sa\srandom\schange\sof\sthe\sexact\sbuffer\ssizes\sinvolved\s(size\sof\s$mail,\sor\ssize\sof\skernel\spipe\sbuffers\sdriving\sthe\smaximal\ssingle-write).\r\n\r\nThe\s"fix"\s(or\srather,\simprovement\sof\syour\scode)\sis\strivial\sand\sworks\son\sall\sTcl\sversions:\swhen\syou\swant\sto\sreturn\sto\sblocking\ssemantics,\sjust\ssay\sso\s:)\r\n\r\nI\sguess\syour\ssnippet\sis\sa\ssynthetic\sone\stailored\sto\shighlight\sthe\sbehavior\s(no\sone\sin\shis\sright\smind\swould\sdo\sthat\sotherwise\s;-),\sbut\sthe\sidea\sis\sto\ssimply\s[fconfigure\s$pipe\s-blocking\son]\sbefore\sclosing.
J login ferrieux
J mimetype text/plain
K c6b86cbfe4a1e14017a933f60afb33a4b980e2d5
U ferrieux
Z 2c6758d4cd2dd48cfc7c07ae590a97c1