diff options
author | dgp <dgp@users.sourceforge.net> | 2014-06-05 15:17:29 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-06-05 15:17:29 (GMT) |
commit | 5e12990261375322a279069b4bc5110233068335 (patch) | |
tree | ac34e58ae45bc9c662b94326b71d2b603b0c753d /generic/tclThreadJoin.c | |
parent | 22e5e3f23f66d83f09a06b80a22a8215ab1dfc24 (diff) | |
download | tcl-5e12990261375322a279069b4bc5110233068335.zip tcl-5e12990261375322a279069b4bc5110233068335.tar.gz tcl-5e12990261375322a279069b4bc5110233068335.tar.bz2 |
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.
Diffstat (limited to 'generic/tclThreadJoin.c')
0 files changed, 0 insertions, 0 deletions