[Top][All Lists]

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

Re: test-memchr failure on rawhide

From: Bruno Haible
Subject: Re: test-memchr failure on rawhide
Date: Sat, 9 May 2009 12:12:23 +0200
User-agent: KMail/1.9.9

Andreas Schwab wrote:
> s/worked fine earlier/invoked undefined behviour/

In your interpretation of the C99 standard: can you please tell, regarding
this sentence in section, and assuming a call memchr(ptr,c,n) with
ptr != NULL and n >= 0:

  "The memchr function returns a pointer to the located character, or a null 
   if the character does not occur in the object."

What is "the object"? Where does it start? Where does it end? How many 
does it contain?


reply via email to

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