summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-03-02 10:05:57 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-03-02 10:05:57 (GMT)
commit714ba439a2a5271a913fede2596c072cb2564516 (patch)
tree30dfc48f60bab6290e1e11d4c98c287f61b3ffa4 /ChangeLog
parentc6d76efcfbaa9d03aeaecec19843a745556dcb18 (diff)
downloadtcl-714ba439a2a5271a913fede2596c072cb2564516.zip
tcl-714ba439a2a5271a913fede2596c072cb2564516.tar.gz
tcl-714ba439a2a5271a913fede2596c072cb2564516.tar.bz2
(Tcl_SetByteArrayObj): Only zero out the memory block if it is not being
immediately overwritten. Thanks to Stuart Cassoff for spotting.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b180bcd..987a251 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
+2012-03-02 Donal K. Fellows <dkf@users.sf.net>
+
+ * generic/tclBinary.c (Tcl_SetByteArrayObj): Only zero out the memory
+ block if it is not being immediately overwritten. (Caller might still
+ overwrite, but we should at least avoid known-useless work.)
+
2012-02-29 Jan Nijtmans <nijtmans@users.sf.net>
- * generic/tclIOUtil.c: [Bug 3466099] BOM in Unicode
+ * generic/tclIOUtil.c: [Bug 3466099]: BOM in Unicode
* generic/tclEncoding.c:
* tests/source.test