bug-gnulib
[Top][All Lists]
Advanced

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

Re: NetBSD failure on nl_langinfo


From: Bruno Haible
Subject: Re: NetBSD failure on nl_langinfo
Date: Fri, 22 Oct 2010 16:34:09 +0200
User-agent: KMail/1.9.9

Paolo Bonzini wrote:
> > +    ASSERT (strlen (currency)>= 0);
> 
> Isn't this asser bogus since strlen returns size_t?  Or are you just 
> testing that it doesn't return rubbish?

It's a test whether the result is non-NULL and a valid pointer.

Bruno



reply via email to

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