<i>Tcl_Read() returns -1 instead of 0 with nonblocking channel and no data available</i>.
by
.
D 2014-10-13T17:25:57.422
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Tcl_Read()\son\sa\snon_blocking\ssocket\sreturns\s-1\sif\sno\sdata\sare\savailable\sin\s8.5.16,\swhere\sin\s8.5.15\sthe\sreturn\svalue\swas\s0.\s\s\r\n\r\nReason\sis\sin\sthe\srefactored\sDoRead()\sin\stclIO.c\sand\sis\sfixed\sin\sHEAD\sas\sit\sseems,\sbut\sI\swould\sdefinitely\svote\sfor\sa\s8.5.17\squickly.\r\n\r\nThis\sone\shas\scaused\sa\smajor\sheadache\shere\s:-/
J foundin 8.5.16
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 1d3c95db24e116878d6afed7cf890a89a0effe62
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem 25.\sChannel\sSystem
J title Tcl_Read()\sreturns\s-1\sinstead\sof\s0\swith\snonblocking\schannel\sand\sno\sdata\savailable
J type Bug
K 5e0a543569c590d01f815f38f8c746b5cec4cc4e
U anonymous
Z cf5aae907158825a14d628f076704fd7