Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c1c129989e3a0dc4a2f83b61536e90ca24eaf71f
Ticket: 2827000fffffffffffffffffffffffffffffffff
tcl incorrectly reports eof to application
User & Date: andreas_kupries on 2009-07-29 05:25:12
Changes

  1. icomment:
    Second half of the proposed fix is to modify Chan.tcl's 'read' method to detect the EAGAIN condition on the underlying channel and pass it on.
    
    The condition for EAGAIN is "zero-length read in non-blocking mode with the channel not eof". See the patch for the equivalent Tcl code.
    
    With these patches (core and Chan.tcl) applied my reconstruction begins to work.
    
    NOTE: I tested only the non-threaded code patch so far.
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"