summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2012-05-28 22:50:15 -0700
committerMaxim Kuvyrkov <maxim@codesourcery.com>2012-08-21 18:07:47 -0700
commit400726deef57d8da8d6c7cd5c8e7891eaabab041 (patch)
tree73509a99d4f1d1e11afd525300e496119865e431 /ChangeLog
parent20a71f2c8ab45b458416422af2eec2b7bc52f66b (diff)
Detect EOL on-the-fly in strstr, strcasestr and memmem.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c96e02795..4aeac6dcfc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,18 @@
2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
[BZ #11607]
+ * NEWS: Add an entry.
+ * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
+ define their defaults.
+ (two_way_short_needle): Detect end-of-string on-the-fly.
+ * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
+ (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
+ * string/bug-strcasestr1.c: New test.
+ * string/Makefile: Run it.
+
+2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ [BZ #11607]
* string/str-two-way.h (two_way_short_needle): Optimize matching of
the first character.