Overview
| Artifact ID: | ceb856666b82814e74977a416db82dc9f039559c |
|---|---|
| Ticket: | 403432ffffffffffffffffffffffffffffffffff
Fix for Bug 118203 |
| User & Date: | dkf on 2016-08-22 12:30:20 |
Changes
- closedate changed to: "2457623.02107237"
- closer changed to: "dkf"
- 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.
- login: "dkf"
- mimetype: "text/plain"
- severity changed to: "Minor"
- subsystem changed to: "25. Channel System"