From e651af07a6e61976af131dba3d028bcf73312a6e Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 21 Oct 2010 12:24:30 -0600 Subject: build: work around glibc and libsigsegv bugs * docs/m4.texinfo (Index macro): Expose strstr bug. Signed-off-by: Eric Blake --- doc/m4.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/m4.texi b/doc/m4.texi index d4aa65e1..dbda71bb 100644 --- a/doc/m4.texi +++ b/doc/m4.texi @@ -6888,6 +6888,17 @@ index(`abc', `bc', `-4') @result{}1 @end example +@ignore +@comment Expose a bug in the strstr() algorithm present in glibc +@comment 2.9 through 2.12 and in gnulib up to Sep 2010. + +@example +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 +@end ignore + @node Regexp @section Searching for regular expressions -- cgit v1.2.1