Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-05-02
02:29 • New ticket [3522894fff] Solaris build fails: TclBN_mp_init_set_int not found... artifact: e9cba4d151 user: markatc
2007-02-13
02:27 • Closed ticket [1516109fff]: Fix for bug where encoding escape chars get written ... artifact: d3732d1aee user: andreas_kupries
2007-02-10
05:33 • Ticket [1516109fff]: 1 change artifact: 472a03f4a2 user: hobbs
2006-07-04
02:30 • Ticket [1516109fff]: 4 changes artifact: 4663d2cde5 user: mdejong
2006-07-03
20:33 • Ticket [1516109fff]: 5 changes artifact: 7298ec219d user: dgp
09:57 • Ticket [1516109fff]: 4 changes artifact: 0e4dfcb184 user: mdejong
09:57 • Add attachment escape2times.patch to ticket [1516109fffffffff|1516109ff... artifact: ef789732d9 user: mdejong
02:57 • New ticket [1516109fff] Fix for bug where encoding escape chars get written twic... artifact: 7cb41bbeb8 user: mdejong

Fix for bug where encoding escape chars get written twice

Closed / Accepted1516109fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-07-03 02:57:15
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.
mdejongplain2006-07-03 09:57:16
File Added - 183673: escape2times.patch
dgpplain2006-07-03 20:33:35
Logged In: YES 
user_id=80530


Is this related to 1462248 ?
mdejongplain2006-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.
hobbs Ticket [1516109fff]: 1 change [History diff]2007-02-10 05:33:45
andreas_kupriesplain2007-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.
Log in (anonymous is fine) to add a comment.

Attachments: