[Top][All Lists]

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

Re: test-nl_langinfo failure on Irix 6.5

From: Bruno Haible
Subject: Re: test-nl_langinfo failure on Irix 6.5
Date: Fri, 31 Dec 2010 16:32:58 +0100
User-agent: KMail/1.9.9

Hi Eric,

>   ASSERT (strlen (nl_langinfo (YESEXPR)) > 0);
> Adding a bit more debugging reveals that nl_langinfo is returning ""
> rather than a proper regular expression.
> Is this a case where the test should be relaxed, or should we be
> teaching nl_langinfo how to work around this situation?

YESEXPR is meant to be used as a regular expression against which a
line of user input is to be matched. It makes no sense for it to be
empty. Therefore the test is fine, and it's the nl_langinfo wrapper
that needs to be taught about a workaround.


reply via email to

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