bug-coreutils
[Top][All Lists]
Advanced

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

Re: test-memchr failure on rawhide


From: Andreas Schwab
Subject: Re: test-memchr failure on rawhide
Date: Mon, 11 May 2009 13:43:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Andreas Schwab wrote:
>> > And in the context of memchr's return value:
>> 
>> The context is irrelevant.
>
> You couldn't tell how many bytes memchr is searching through?

Where did I say that???

> glibc's memchr is accessing n+1 bytes in the special case of n = 0. That is
> a bug that you cannot deny.

Since this byte must be accessible this is not a bug.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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