[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in autoconf-2.64
From: |
Jim Meyering |
Subject: |
Re: bug in autoconf-2.64 |
Date: |
Thu, 24 Feb 2011 17:04:58 +0100 |
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 implementation. Eric mentioned
privately that glibc does not yet have gnulib's commit
fffd5faca, and that affects periodicity detection.
- Re: bug in autoconf-2.64, Ralf Wildenhues, 2011/02/24
- Re: bug in autoconf-2.64, Ralf Wildenhues, 2011/02/24
- Re: bug in autoconf-2.64, Jim Meyering, 2011/02/24
- Re: bug in autoconf-2.64, Eric Blake, 2011/02/25
- [PATCH] strstr: revert patches that introduced bug and pessimization, Eric Blake, 2011/02/25