summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-02-17 21:40:48 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-02-17 21:40:48 (GMT)
commit72ccff69bc0257f9100758149d569b6299654067 (patch)
tree8e603cd497ab3874a9afa85dedd7ab1c8ce90b68 /ChangeLog
parent2a06ac14dadfef67de933e930cfec32263642fef (diff)
downloadtcl-72ccff69bc0257f9100758149d569b6299654067.zip
tcl-72ccff69bc0257f9100758149d569b6299654067.tar.gz
tcl-72ccff69bc0257f9100758149d569b6299654067.tar.bz2
* generic/tclStringObj.c: Pare back the length of the unicode
array in a non-extended String struct to one Tcl_UniChar, meant to hold the terminating NUL character. Non-empty unicode strings are then stored by extending the String struct by stringPtr->maxChars additional slots in that array with sizeof(Tcl_UniChar) bytes per slot. This revision makes the allocation macros much simpler.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fb11b08..7509a02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,13 @@
2009-02-17 Don Porter <dgp@users.sourceforge.net>
+ * generic/tclStringObj.c: Pare back the length of the unicode
+ array in a non-extended String struct to one Tcl_UniChar, meant to
+ hold the terminating NUL character. Non-empty unicode strings are
+ then stored by extending the String struct by stringPtr->maxChars
+ additional slots in that array with sizeof(Tcl_UniChar) bytes per slot.
+ This revision makes the allocation macros much simpler.
+
* generic/tclStringObj.c: Factor out common GrowUnicodeBuffer()
and solve overflow and growth algorithm fallbacks in it.