summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-02-26 17:07:33 -0700
committerGary V. Vaughan <gary@gnu.org>2013-09-18 20:53:26 +0700
commitf9cece52f95847352a2a7e3bf9e3f59a5ae90816 (patch)
treece76ef96309746bbbfcdb226e0e79cf7948b9e66
parent0585a54b4a126cdd35df9e4a9a234cce94a17ff6 (diff)
downloadm4-f9cece52f95847352a2a7e3bf9e3f59a5ae90816.tar.gz
index: fix another regression from faulty strstr
* doc/m4.texinfo (Index macro): Test for the bug. * THANKS: Update. Reported by Mike Stump, with additional analysis from Ralf Wildenhues and Jim Meyering. Signed-off-by: Eric Blake <eblake@redhat.com>
-rw-r--r--THANKS1
-rw-r--r--doc/m4.texi8
2 files changed, 9 insertions, 0 deletions
diff --git a/THANKS b/THANKS
index 0fa1a1b6..70e03546 100644
--- a/THANKS
+++ b/THANKS
@@ -107,6 +107,7 @@ Mike Frysinger vapier@gentoo.org
Mike Howard mike@clove.com
Mike Lijewski lijewski@theory.tc.cornell.edu
Mike R. mroberge@aol.com
+Mike Stump mikestump@comcast.net
Mikhail Teterin Mikhail.Teterin@murex.com
Nelson H. F. Beebe beebe@math.utah.edu
Nick S. Kanakakorn skanan@otl.scu.edu
diff --git a/doc/m4.texi b/doc/m4.texi
index 84382a73..d25b8b9e 100644
--- a/doc/m4.texi
+++ b/doc/m4.texi
@@ -6896,6 +6896,14 @@ index(`;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-:',
`:12-:12-:12-:12-:12-:12-:12-:12-')
@result{}-1
@end example
+
+@comment Expose a bug in the gnulib replacement strstr() algorithm
+@comment present from Jun 2010 to Feb 2011, including m4 1.4.15.
+
+@example
+index(`..wi.d.', `.d.')
+@result{}4
+@end example
@end ignore
@node Regexp