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 | 164250cf8605bbfb0f361e639d8bfc656526dd15 (patch) | |
| tree | 7dfba7ed7d0c7b5acced0020322271a79aa378d2 /unix/tclUnixChan.c | |
| parent | 7d10d699c786fe96c4fc95e963108db3f674284a (diff) | |
| download | tcl-164250cf8605bbfb0f361e639d8bfc656526dd15.zip tcl-164250cf8605bbfb0f361e639d8bfc656526dd15.tar.gz tcl-164250cf8605bbfb0f361e639d8bfc656526dd15.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 'unix/tclUnixChan.c')
0 files changed, 0 insertions, 0 deletions
