Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: d17072f060a6db2284c14f98a2f84752dc975e3ac2e4e16a0b1104a5f27bbda4
Ticket: b58e6897034fc5292c9d36ba8099d9a835c98172
Return value of `Tcl_Flush`
User & Date: jan.nijtmans 2017-10-23 12:11:09
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closedate changed to: "2458050.00774884"
  3. closer changed to: "jan.nijtmans"
  4. foundin changed to: "Tcl 8.6.7"
  5. icomment:
    Good catch! In this case there is no reason to distingish the channel being non-writable with other errors, since the actual error situation is expected to be returned in errno anyway in both cases. It looks like an ancient copy/paste error, since a lot of other functions where CheckChannelErrors() is used return -1 for error.
    
    Therefore: agreed with the analyses. Should be fixed now in core-8-6-branch and trunk.
    
    Thanks!
    
  6. login: "jan.nijtmans"
  7. mimetype: "text/x-fossil-wiki"
  8. resolution changed to: "Fixed"
  9. status changed to: "Closed"