diff options
| author | dgp <dgp@users.sourceforge.net> | 2014-06-05 15:20:59 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2014-06-05 15:20:59 (GMT) |
| commit | b4cc0cbac8fa4b538932247dc8ffc47748948c9d (patch) | |
| tree | ccbe4772914cfca321c5dc9f2bfff37cdf777d18 /unix/tclUnixTest.c | |
| parent | 45fd54872fa0bcff3d89f8077d9a7ca220bba89f (diff) | |
| parent | 16b3c54eb00d3dea880aa5246e89df32fabec116 (diff) | |
| download | tcl-b4cc0cbac8fa4b538932247dc8ffc47748948c9d.zip tcl-b4cc0cbac8fa4b538932247dc8ffc47748948c9d.tar.gz tcl-b4cc0cbac8fa4b538932247dc8ffc47748948c9d.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 'unix/tclUnixTest.c')
0 files changed, 0 insertions, 0 deletions
