summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-04-06 10:50:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-04-06 10:50:00 (GMT)
commit8bccfa351c587aaf7e5d6aa27b0ef0141806c1cf (patch)
tree81860bb7f263e253fa649925296741b94c4e752b /ChangeLog
parent96bf5f215990235e4c0aa28930d25a4d16cdae32 (diff)
downloadtcl-8bccfa351c587aaf7e5d6aa27b0ef0141806c1cf.zip
tcl-8bccfa351c587aaf7e5d6aa27b0ef0141806c1cf.tar.gz
tcl-8bccfa351c587aaf7e5d6aa27b0ef0141806c1cf.tar.bz2
Fixed problem with [string compare \x00 \x01] and hopefully sped the
command up in a few cases too (notably byte arrays and UNICODE objects.) [Bug #219201]
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 01a92fa..8e9ac3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2001-04-06 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * tests/string.test (string-2.30): Test for this case
+ * generic/tclCmdMZ.c (Tcl_StringObjCmd, STR_COMPARE branch): Fixed
+ problem caused by Utf-rep of \x00 being more than Utf-rep of \x01
+ fooling memcmp by forcing everything through Utf-based
+ comparisons. Added optimizations for case where objects have a
+ string/unicode-rep or a bytearray-rep (i.e. where we can perform
+ comparisons on fixed-size units.) [Bug #219201]
+ * generic/tclUtf.c (Tcl_UtfNcmp): Corrected seriously erroneous
+ comment.
+
2001-04-05 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* doc/Macintosh.3: Removed duplicates from .SH line