Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ceb856666b82814e74977a416db82dc9f039559c
Ticket: 403432ffffffffffffffffffffffffffffffffff
Fix for Bug 118203
User & Date: dkf on 2016-08-22 12:30:20
Changes

  1. closedate changed to: "2457623.02107237"
  2. closer changed to: "dkf"
  3. comment changed to:
    CopyData() has a bug in its management of the number
    of bytes copied.  After reading and writing some bytes,
    it should update the byte count.  However, before it
    updates the byte count, it manages some fileevent
    handlers in the case that the writing operation has
    gone into the background.  In that circumstance, the
    copy loop is exited without an update to the byte count,
    leading to all the nastiness reported in Bug 118203.
    
    The fix is simple:  Move the byte count update earlier
    in the loop where it properly belongs.
    
    The patch also fixes an error in the file event management,
    where the wrong file event handler was being deleted.
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. severity changed to: "Minor"
  7. subsystem changed to: "25. Channel System"