This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc 2.1.96 (sysdeps/i386/i486/bits/string.h has a bug)


Denis Zaitsev <zzz@cd-club.ru> writes:

> The strcmp implementation has a problem. If either of arguments is of
> type (void*) then the __strcmp_xx macros will dereference this void
> pointer with all the consequences. And, say, bind-9 can't be
> compiled... So, here is the straightforward patch.

I've made a different change which you can find in 2.1.97.

> By the way, what were the reasons to make these 3 macros which all do
> the same? It seems that one inline function would look better...

No.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]