Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 73122f23a9c8260bb7da531d0ad395e2fdaf3314
Ticket: 403432ffffffffffffffffffffffffffffffffff
Fix for Bug 118203
User & Date: dgp on 2001-01-26 02:00:14
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  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. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: ""
  10. title changed to: "Fix for Bug 118203"
  11. type changed to: "Patch"