diff options
author | dgp <dgp@users.sourceforge.net> | 2014-01-15 19:04:52 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-01-15 19:04:52 (GMT) |
commit | e0791bfa1b98a28520902dbb5018ffdcb5925860 (patch) | |
tree | 62d7ad4492040b25015df31bcb66429109d0964b /doc/coroutine.n | |
parent | b9663aff14aff96677a1252092a006ae19f81a8c (diff) | |
download | tcl-e0791bfa1b98a28520902dbb5018ffdcb5925860.zip tcl-e0791bfa1b98a28520902dbb5018ffdcb5925860.tar.gz tcl-e0791bfa1b98a28520902dbb5018ffdcb5925860.tar.bz2 |
[2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.bug_2992970
Also moves overflow checking to TclAppendBytesToByteArray() and adds
the ability to call TABTBA() with bytes==NULL, for appending unspecified
bytes. That is, the string grows, but the new bytes are of undetermined
value. Like Tcl_NewByteArrayObj(NULL, length) this option is useful
for manipulating buffers. The TABTBA growth algorithm is also enhanced
a bit, copying over a fuller implementation from GrowStringBuffer()
in tclStringObj.c
Diffstat (limited to 'doc/coroutine.n')
0 files changed, 0 insertions, 0 deletions