Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2014-10-13
21:12 • Closed ticket [5e0a543569]: Tcl_Read() returns -1 instead of 0 with nonblocking ... artifact: b90aed4801 user: dgp
17:25 • New ticket [5e0a543569]. artifact: c9ccf3d9c6 user: anonymous

Tcl_Read() returns -1 instead of 0 with nonblocking channel and no data available

Closed / Duplicate5e0a543569c590d01f815f38f8c746b5cec4cc4eCreated 12 years agoUpdated 12 years ago
Descriptionplain2014-10-13 17:25:57
Tcl_Read() on a non_blocking socket returns -1 if no data are available in 8.5.16, where in 8.5.15 the return value was 0.  

Reason is in the refactored DoRead() in tclIO.c and is fixed in HEAD as it seems, but I would definitely vote for a 8.5.17 quickly.

This one has caused a major headache here :-/
dgpplain2014-10-13 21:12:17
Dup [ed29c4da21].

Yes, branch for readying 8.5.17 already opened.
Log in (anonymous is fine) to add a comment.