summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-10-21 12:24:30 -0600
committerGary V. Vaughan <gary@gnu.org>2013-09-17 22:55:37 +0700
commite651af07a6e61976af131dba3d028bcf73312a6e (patch)
tree2aa36bd7df56f7a632285498bad57a68bbefc787
parent0deacea8902c00062fdc91ee67ce137a87a647a1 (diff)
downloadm4-e651af07a6e61976af131dba3d028bcf73312a6e.tar.gz
build: work around glibc and libsigsegv bugs
* docs/m4.texinfo (Index macro): Expose strstr bug. Signed-off-by: Eric Blake <eblake@redhat.com>
-rw-r--r--doc/m4.texi11
1 files changed, 11 insertions, 0 deletions
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