I added this bugfix to the new strstr and strcasestr implementations.
diff -c -3 -r1.1 strcasestr.c
*** strcasestr.c17 Aug 2005 14:09:19 - 1.1
--- strcasestr.c19 Aug 2005 11:00:06 -
***
*** 88,94
{
if
Sam Steingold wrote:
fc4:
In file included from regex.c:86:
regcomp.c: In function 'regerror':
regcomp.c:563: warning: implicit declaration of function 'mempcpy'
regcomp.c:563: warning: incompatible implicit declaration of built-in
function ' mempcpy'
regcomp.c: In function
I installed this, adapted from coreutils. I also filed glibc bug 1215
to merge it back into glibc.
2005-08-19 Paul Eggert [EMAIL PROTECTED]
* config/srclist.txt: Comment out $LIBCSRC/posix/regex_internal.c.
* lib/regex_internal.c (re_string_realloc_buffers,
I installed this patch, taken from coreutils. I also filed a glibc bug
report.
2005-08-19 Jim Meyering [EMAIL PROTECTED]
* lib/regexec.c (proceed_next_node): Redo local variables to
avoid GCC shadowing warnings.
2005-08-19 Paul Eggert [EMAIL PROTECTED]
*