|
From: | Paul Eggert |
Subject: | bug#17056: dfa.c patch for systems with no locale support |
Date: | Thu, 27 Mar 2014 11:57:46 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 03/27/2014 11:48 AM, Aharon Robbins wrote:
Then we don't know what the locale is. Perhaps setlocale ran out of memory and so returned NULL. If so, subsequent calls might use some weird Turkish locale with multibyte characters. So it sounds safer to assume the worst in that case.What if the system's setlocale() actually returns NULL?
[Prev in Thread] | Current Thread | [Next in Thread] |