Bruno Haible <[EMAIL PROTECTED]> writes:

> I think it's time for me to report a glibc bug on strstr and
> strcasestr, then...

Sounds good.  I didn't know there was a bug.

What is the bug, out of curiosity?  I don't see why
multibyte characters would be relevant to the bug, since
strstr is supposed to apply only to byte strings.

gnulib/lib/strstr.c appears to pay attention to multibyte
strings, which is something different from standard strstr
(which is supposed to just look at byte strings).  That is,
gnulib/lib/strstr.c looks like it's doing sort of what
Microsoft's _mbsstr function does.  But in that case,
shouldn't it be renamed to gnulib/lib/mbsstr.c, or something
like that?


Reply via email to