Tcl Source Code

View Ticket
Login
Ticket UUID: 5e0a543569c590d01f815f38f8c746b5cec4cc4e
Title: Tcl_Read() returns -1 instead of 0 with nonblocking channel and no data available
Type: Bug Version: 8.5.16
Submitter: anonymous Created on: 2014-10-13 17:25:57
Subsystem: 25. Channel System Assigned To: dgp
Priority: 5 Medium Severity: Severe
Status: Closed Last Modified: 2014-10-13 21:12:17
Resolution: Duplicate Closed By: dgp
    Closed on: 2014-10-13 21:12:17
Description:
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 :-/
User Comments: dgp added on 2014-10-13 21:12:17:
Dup [ed29c4da21].

Yes, branch for readying 8.5.17 already opened.