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: |
dfbd1c41a74087fb3b49578fee65ca81 |
| 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
Modified generic/tcl.h
from [6ff89c542f]
to [09f6cbfaac].
[diff]
Modified generic/tclEncoding.c
from [49fa5cd974]
to [9b77d6a9bd].
[diff]
Modified generic/tclIO.c
from [deb2c62f85]
to [144794b6e1].
[diff]