summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2014-11-15 21:08:57 (GMT)
committerdgp@users.sourceforge.net <dgp>2014-11-15 21:08:57 (GMT)
commitcc8d3df1e0c6eae3db26683ca674c59a7e8a8080 (patch)
tree7dfba7ed7d0c7b5acced0020322271a79aa378d2 /unix/tclUnixSock.c
parentd0337920f829aa1b8a4663722c3371f7fb5226d2 (diff)
downloadtcl-cc8d3df1e0c6eae3db26683ca674c59a7e8a8080.zip
tcl-cc8d3df1e0c6eae3db26683ca674c59a7e8a8080.tar.gz
tcl-cc8d3df1e0c6eae3db26683ca674c59a7e8a8080.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/tclUnixSock.c')
0 files changed, 0 insertions, 0 deletions