summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-02-27 19:02:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-02-27 19:02:25 (GMT)
commitfbada465b441596587db58a5972e6acc516208f2 (patch)
treea38afc9c18be0048ff5b566aab8a4436f176e45a /ChangeLog
parent82facaaadc38055a533bb63ecd26a98eccac0373 (diff)
downloadtcl-fbada465b441596587db58a5972e6acc516208f2.zip
tcl-fbada465b441596587db58a5972e6acc516208f2.tar.gz
tcl-fbada465b441596587db58a5972e6acc516208f2.tar.bz2
Only look for the needle when it fits in the haystack. [Bug 2960021]
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ce4e1aa..98c8360 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-02-27 Donal K. Fellows <dkf@users.sf.net>
+ * generic/tclCmdMZ.c (StringFirstCmd, StringLastCmd): [Bug 2960021]:
+ Only search for the needle in the haystack when the needle isn't
+ larger than the haystack. Prevents an odd crash from sometimes
+ happening when things get mixed up (a common programming error).
+
* generic/tclMain.c (Tcl_Main): [Bug 801429]: Factor out the holding
of the client-installed main loop function into thread-specific data.