summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-10-19 22:50:37 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-10-19 22:50:37 (GMT)
commit278b4c9ebf643183f815790c3c646b71937f8268 (patch)
tree48ff659ae07503aceaa55c3c15cb6feee3d8e4c0 /ChangeLog
parent704a32619c8df8155c6706100c7b22190eb7e5b2 (diff)
downloadtcl-278b4c9ebf643183f815790c3c646b71937f8268.zip
tcl-278b4c9ebf643183f815790c3c646b71937f8268.tar.gz
tcl-278b4c9ebf643183f815790c3c646b71937f8268.tar.bz2
* generic/tclZlib.c (Tcl_ZlibStreamGet): [Bug 3081008]: Ensure that
when a bytearray gets its internals entangled with zlib for more than a passing moment, that bytearray will never be shimmered away. This increases the amount of copying but is simple to get right, which is a reasonable trade-off. * generic/tclStringObj.c (Tcl_AppendObjToObj): Added some special cases so that most of the time when you build up a bytearray by appending, it actually ends up being a bytearray rather than shimmering back and forth to string. * tests/http11.test (check_crc): Use a simpler way to express the functionality of this procedure.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f8e598..d07a302 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
2010-10-19 Donal K. Fellows <dkf@users.sf.net>
+ * generic/tclZlib.c (Tcl_ZlibStreamGet): [Bug 3081008]: Ensure that
+ when a bytearray gets its internals entangled with zlib for more than
+ a passing moment, that bytearray will never be shimmered away. This
+ increases the amount of copying but is simple to get right, which is a
+ reasonable trade-off.
+
+ * generic/tclStringObj.c (Tcl_AppendObjToObj): Added some special
+ cases so that most of the time when you build up a bytearray by
+ appending, it actually ends up being a bytearray rather than
+ shimmering back and forth to string.
+
+ * tests/http11.test (check_crc): Use a simpler way to express the
+ functionality of this procedure.
+
* generic/tclZlib.c: Purge code that wrote to the object returned by
Tcl_GetObjResult, as we don't want to do that anti-pattern no more.