Skip to content
Tcl Source Code Check-in [dfbd1c41a7]
Login

Check-in [dfbd1c41a7]

Overview
Comment: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.
Timelines: family | ancestors | descendants | both | dgp-encoding-flags
Files: files | file ages | folders
SHA1: dfbd1c41a74087fb3b49578fee65ca8165b5e4df
User & Date: dgp on 2014-11-15 21:08:57.592
Other Links: branch diff | manifest | tags
Context
2014-11-15
21:13
With no padding needed for a terminating NUL, there no need for a distinction between the dstNeeded ... check-in: 08d5c4e676 user: dgp tags: dgp-encoding-flags
21:08
Tcl_ExternalToUtf appends a terminating NUL to its encoded results. Perhaps this is a welcome conven... check-in: dfbd1c41a7 user: dgp tags: dgp-encoding-flags
2014-11-12
04:35
merge release check-in: 2b53ef7858 user: dgp tags: trunk
Changes