Manifest of check-in
[e60b642838]
-
* generic/tclEncoding.c (EscapeFromUtfProc): Applied patch
supplied by Mo DeJong to fix [Bug 1516109]. Backport from Tcl
8.5. Mo's description: Clear the TCL_ENCODING_END flag when end
bytes are written. This fix keep this method from writing escape
bytes for an encoding like iso2022-jp multiple times when the
escape byte overlap with the end of the IO buffer.
* tests/io.test: Add test case for escape byte overlap case.
by
andreas_kupries on
2007-02-12 19:25:39.
B 8f82eed3fb614d02b0696e797a4ff9f6770a62f4
C \n\t*\sgeneric/tclEncoding.c\s(EscapeFromUtfProc):\sApplied\spatch\n\t\s\ssupplied\sby\sMo\sDeJong\sto\sfix\s[Bug\s1516109].\sBackport\sfrom\sTcl\n\t\s\s8.5.\sMo's\sdescription:\sClear\sthe\sTCL_ENCODING_END\sflag\swhen\send\n\t\s\sbytes\sare\swritten.\sThis\sfix\skeep\sthis\smethod\sfrom\swriting\sescape\n\t\s\sbytes\sfor\san\sencoding\slike\siso2022-jp\smultiple\stimes\swhen\sthe\n\t\s\sescape\sbyte\soverlap\swith\sthe\send\sof\sthe\sIO\sbuffer.\n\t*\stests/io.test:\sAdd\stest\scase\sfor\sescape\sbyte\soverlap\scase.\n
D 2007-02-12T19:25:39
F ChangeLog be0a6a87874ba8e775fa3e51f25c6147d112d949
F generic/tclEncoding.c d712563eaedfa4c05202857f218439d55cde885b
F tests/io.test e9ee13fa5984ff1097eb7a783ba6cc3b1414ad4c
F unix/configure 2ddd8fb68acc2c7759be9c8aa3c7a7e8c7c012c7 x
F unix/configure.in 690fae3da2af92ab1108b606e96a02ef2b5cdf68
P c378ec38176408e5a960e2718b3f512e28836049
U andreas_kupries
Z 118ff3b85959fd475eaa89edb2aca381