Subject: Re: bug#17700: [PATCH] dfa: speed-up for a pattern that many atoms are catenated

From: Paul Eggert <[email-masked]>
Date: Fri, 06 Jun 2014 07:19:36 -0700

Norihiro Tanaka wrote:
> strstr() on CentOS 5.10 may be too old.

Yes it is.  But 'configure' is supposed to detect this.  config.log 
should say something like this:

configure:26283: checking whether strstr works in linear time
configure:26357: gcc -std=gnu99 -o conftest -g -O2   conftest.c  >&5
configure:26357: $? = 0
configure:26357: ./conftest
configure:26357: $? = 142
configure: program exited with status 142

This is how it behaves for me, on RHEL 6.5 and on Solaris 11.1.  Could 
you please investigate why it is not occurring on CentOS 5.10?  For 
example, why does the attached program work?  It should fail.