Skip to content
Tcl Source Code Check-in [04b06f7cea]
Login

Check-in [04b06f7cea]

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 | core-8-5-branch
Files: files | file ages | folders
SHA1: 04b06f7cea3f0c91c41018f188946edb633206e4
User & Date: dgp on 2014-06-05 15:17:29.246
Other Links: branch diff | manifest | tags
Context
2014-06-05
15:20
merge fork check-in: 4b59bbceaf user: dgp tags: core-8-5-branch
15:17
When too many chars are read by ReadChars() and we trim the limits to get it right on the next pass,... check-in: 04b06f7cea user: dgp tags: core-8-5-branch
2014-06-04
16:36
Revise DiscardOutput() to account for revisions to the loop in FlushChannel() which is its only call... check-in: 2b1cda088c user: dgp tags: core-8-5-branch
Changes