Kevin Cernekee wrote:
test-localename is calling strdup() on a NULL pointer returned by
>>gl_locale_name_thread(), and crashing.  From reading
>>gl_locale_name_thread() it seems like NULL is a valid result.  Maybe we
>>need to change the test case to "return 77" on systems that are unaware
>>of locales?
>
>
>Yes, that sounds right.  Can you propose a patch along those lines?
OK.  Should I just check for NULL, or is there a better test that
would indicate that the locale support is completely absent?

I haven't read that part of the code, but it sounds like a NULL test would be good enough.

Reply via email to