Overview
| Artifact ID: | e0a5854e16f5cd9ba5b6ce458b391f273449d9e8 |
|---|---|
| Ticket: | 695422ffffffffffffffffffffffffffffffffff
Cleanup empty bufer handling |
| User & Date: | mdejong on 2003-03-01 03:03:29 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
Here is a patch the cleans up empty buffer handling. I have run the test suite and get no failures, but I wanted to have someone else look at this to make sure I am not missing something. Here is the ChangeLog entry: * generic/tclIO.c (ReadBytes, ReadChars): Handle the case of en empty input buffer explicitly. This can happen when a cr appears at the end of an input buffer that is in crlf or auto mode. A flag is set to indicate that a lf at the start of the next buffer means that a single lf should be added. The problem in ReadBytes and ReadChars is that they assume that the buffer will be non-empty. It appears as though ReadBytes and ReadChars still function properly in this case, so the additional checks added here serve to make handling of this case more clear. - foundin changed to: "None"
- priority changed to: "4"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mdejong"
- subsystem changed to: "25. Channel System"
- title changed to: "Cleanup empty bufer handling"
- type changed to: "Patch"