summaryrefslogtreecommitdiffstats
path: root/license.terms
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-11-15 21:08:57 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-11-15 21:08:57 (GMT)
commit55688af5e97888536930067e5e23a686661a0b1c (patch)
tree7dfba7ed7d0c7b5acced0020322271a79aa378d2 /license.terms
parentc3c06423586daccaeba84d4aacf23f375121434c (diff)
downloadtcl-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