This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.96 (sysdeps/i386/i486/bits/string.h has a bug)
- To: Denis Zaitsev <zzz at cd-club dot ru>
- Subject: Re: glibc 2.1.96 (sysdeps/i386/i486/bits/string.h has a bug)
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 02 Nov 2000 16:29:44 -0800
- Cc: GNU libc testers <libc-alpha at sourceware dot cygnus dot com>, VGER gcc list <linux-gcc at vger dot kernel dot org>
- References: <m33dhipuiu.fsf@otr.mynet.cygnus.com><20001103010534.A6199@zzz.zzz>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------