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.

Bruno

Reply via email to