Ticket UUID: | 1516109 | |||
Title: | Fix for bug where encoding escape chars get written twice | |||
Type: | Patch | Version: | None | |
Submitter: | mdejong | Created on: | 2006-07-03 02:57:15 | |
Subsystem: | 25. Channel System | Assigned To: | andreas_kupries | |
Priority: | 7 High | Severity: | ||
Status: | Closed | Last Modified: | 2007-02-13 02:27:13 | |
Resolution: | Accepted | Closed By: | andreas_kupries | |
Closed on: | 2007-02-12 19:27:13 | |||
Description: |
This patch fixes a problem in the EscapeFromUtfProc method, it needs to clear the TCL_ENCODING_END flag after writing ending escape bytes so that these bytes do not get written twice in the tricky case where the end bytes overlap the end of an IO buffer. Regression test included in the patch. This patch was created from Tcl 8.5 CVS on 7/2/2006. | |||
User Comments: |
andreas_kupries added on 2007-02-13 02:27:13:
Logged In: YES user_id=75003 Originator: NO Patch accepted and applied to Tcl 8.4 branch head. Nothing done for 8.5, I see that it was applied to the head on Dec 26, 2006. mdejong added on 2006-07-04 02:30:48: Logged In: YES user_id=90858 I don't think this is related to 1462248, as that bug deals with TCL_ENCODING_END when doing read operations and this problem shows up only with a write operation. dgp added on 2006-07-03 20:33:35: Logged In: YES user_id=80530 Is this related to 1462248 ? mdejong added on 2006-07-03 09:57:16: File Added - 183673: escape2times.patch |
Attachments:
- escape2times.patch [download] added by mdejong on 2006-07-03 09:57:15. [details]