Overview
| Comment: | * generic/tclIO.c (WriteChars): Fix for SF #506297, reported by Martin Forssen <[email protected]>. The encoding chosen in the script exposing the bug writes out three intro characters when TCL_ENCODING_START is set, but does not consume any input as TCL_ENCODING_END is cleared. As some output was generated the enclosing loop calls UtfToExternal again, again with START set. Three more characters in the out and still no use of input ... To break this infinite loop we remove TCL_ENCODING_START from the set of flags after the first call (no condition is required, the later calls remove an unset flag, which is a no-op). This causes the subsequent calls to UtfToExternal to consume and convert the actual input. |
|---|---|
| Timelines: | family | ancestors | descendants | both | core-8-3-1-branch |
| Files: | files | file ages | folders |
| SHA1: |
c6670167628235d9cb23b11cebe59839 |
| User & Date: | andreas_kupries on 2002-01-21 20:37:25.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2002-01-25
| ||
| 03:07 | * library/http/pkgIndex.tcl: * library/http/http.tcl: don't add port in default case to handle br... check-in: 08d546970a user: hobbs tags: core-8-3-1-branch | |
|
2002-01-21
| ||
| 20:37 | * generic/tclIO.c (WriteChars): Fix for SF #506297, reported by Martin Forssen <[email protected]... check-in: c667016762 user: andreas_kupries tags: core-8-3-1-branch | |
|
2002-01-17
| ||
| 20:35 | * generic/tclIOCmd.c (Tcl_GetsObjCmd): Fixed bug #504642 as reported by Brian Griffin <bgriffin... check-in: fa97315c9c user: andreas_kupries tags: core-8-3-1-branch | |
Changes
Modified ChangeLog
from [905672c468]
to [2dd099169d].
[diff]
Modified generic/tclIO.c
from [71ed97fd68]
to [aa61321298].
[diff]
Modified tests/io.test
from [59fdd2b2b2]
to [55a5e7a149].
[diff]