bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib string module problems on Debian stable, maybe other platform


From: Paul Eggert
Subject: Re: gnulib string module problems on Debian stable, maybe other platforms
Date: Thu, 01 Feb 2007 16:30:32 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]