Overview
| Artifact ID: | 17639dc6a7168516d21f7e4a1aaf2c23058d64e8 |
|---|---|
| Ticket: | e0a7b3e5f8291c5de9fb54fc753543e4da699d0a
DoRead() omits needed call to UpdateInterest() |
| User & Date: | dgp on 2015-08-10 17:35:35 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Brian Griffin has uncovered this, and it's been dissected in several messages on the TCLCORE mailing list. Any time the DoRead() routine acts so that the state of the input buffers on the channel toggles between EMPTY or NOT-EMPTY, there must be a call to UpdateInterest() to get the notifier and file event machinery to function properly. This has been broken for about a year, where there is no call to UpdateInterest() in the case where a read of exactly the number of bytes requested also has the effect of precisely emptying the buffer. The fix is easy, will commit it to a branch shortly. I hold back putting it on the main branches only briefly because I'm attempting to devise a test of the matter to go in the test suite.
- foundin changed to: "core-8-5-branch and trunk"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "25. Channel System"
- title changed to: "DoRead() omits needed call to UpdateInterest()"
- type changed to: "Bug"