From: Eric Blake Date: 2011年2月27日 00:07:33 +0000 (-0700) Subject: index: fix another regression from faulty strstr X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f9cece52f95847352a2a7e3bf9e3f59a5ae90816;p=m4.git 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 --- 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

AltStyle によって変換されたページ (->オリジナル) /