Overview
| Comment: | When too many chars are read by ReadChars() and we trim the limits to get it right on the next pass, don't forget the TCL_UTF_MAX padding demanded by Tcl_ExternalToUtf(). (Thanks for finding that, aku!) Fix the factorPtr management. It was just totaly wrong. The factor should be a ratio of the record of bytes read to the record of chars read. With those fixes, new test io-12.6 covers the "too many chars" code. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
2e1e7c8266b1947b86daf65d99e3ee31 |
| User & Date: | dgp on 2014-06-05 15:20:59.457 |
| Other Links: | manifest | tags |
Context
|
2014-06-05
| ||
| 19:13 | Tests socket*-2.12 test for DiscardOutput() updates. check-in: 39da5e7464 user: dgp tags: trunk | |
| 15:20 | When too many chars are read by ReadChars() and we trim the limits to get it right on the next pass,... check-in: 2e1e7c8266 user: dgp tags: trunk | |
| 15:20 | merge fork check-in: 4b59bbceaf user: dgp tags: core-8-5-branch | |
|
2014-06-04
| ||
| 21:45 | Add missing calls to Tcl_DecrRefCount() in string object man page examples. check-in: 8b99a29c3f user: andy tags: trunk | |
Changes
Modified generic/tclIO.c
from [21618f62f0]
to [fece9c931c].
[diff]
Modified tests/io.test
from [51932d45cb]
to [12d8f0098c].
[diff]