summaryrefslogtreecommitdiffstats
path: root/win/tclWin16.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-01-15 19:04:52 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-01-15 19:04:52 (GMT)
commite0791bfa1b98a28520902dbb5018ffdcb5925860 (patch)
tree62d7ad4492040b25015df31bcb66429109d0964b /win/tclWin16.c
parentb9663aff14aff96677a1252092a006ae19f81a8c (diff)
downloadtcl-bug_2992970.zip
tcl-bug_2992970.tar.gz
tcl-bug_2992970.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 'win/tclWin16.c')
0 files changed, 0 insertions, 0 deletions