Ralf Wildenhues wrote:
> [ this is http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/7834
> from http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01480.html
> adding bug-gnulib; followups can elide bug-autoconf ]
>
> * Ralf Wildenhues wrote on Thu, Feb 24, 2011 at 07:24:35AM CET:
>> IOW, i
Jim Meyering wrote:
> Ralf Wildenhues wrote:
>
>> [ this is http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/7834
>> from http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01480.html
>> adding bug-gnulib; followups can elide bug-autoconf ]
>>
>> * Ralf Wildenhues wrote on Thu, Feb 24, 2011
Jim Meyering wrote:
> Jim Meyering wrote:
>
>> Ralf Wildenhues wrote:
>>
>>> [ this is http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/7834
>>> from http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01480.html
>>> adding bug-gnulib; followups can elide bug-autoconf ]
>>>
>>> * Ralf Wildenh
FYI,
Here's a much-reduced test case for the short-needle case:
const char *needle = ".d.";
const char *haystack = "..d.";
const char* p = strstr (haystack, needle);
ASSERT (p && p - haystack == 1);
Interestingly, it doesn't trigger a failure in glibc's
slightly different impleme