diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-15 21:08:57 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-15 21:08:57 (GMT) |
commit | 55688af5e97888536930067e5e23a686661a0b1c (patch) | |
tree | 7dfba7ed7d0c7b5acced0020322271a79aa378d2 /license.terms | |
parent | c3c06423586daccaeba84d4aacf23f375121434c (diff) | |
download | tcl-55688af5e97888536930067e5e23a686661a0b1c.zip tcl-55688af5e97888536930067e5e23a686661a0b1c.tar.gz tcl-55688af5e97888536930067e5e23a686661a0b1c.tar.bz2 |
Tcl_ExternalToUtf appends a terminating NUL to its encoded results.
Perhaps this is a welcome convenience for some callers, but not for Tcl's
I/O system, which has no need for that. Added a new flag value
TCL_ENCODING_NO_TERMINATE that callers can use to suppress this behavior.
This means buffers don't require so much padding, and a tiny bit of processing
is saved. Update I/O callers to use the feature.
Diffstat (limited to 'license.terms')
0 files changed, 0 insertions, 0 deletions