bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] yesno: Fix behavior difference in ENABLE_NLS


From: Pádraig Brady
Subject: Re: [PATCH] yesno: Fix behavior difference in ENABLE_NLS
Date: Tue, 24 Mar 2015 12:35:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 24/03/15 10:28, Tobias Stöckmann wrote:
>> On March 24, 2015 at 5:08 AM Pádraig Brady <address@hidden> wrote:
>>   $ LC_ALL=uk_UA.utf8 locale yesexpr
>>   ^([Yy+]|[Тт][Аа][Кк]?)$
> 
> So there are locales that check the whole string... Then yes,
> 
>>     if (response[response_len - 1] == '\n')
>>       response[response_len - 1] = '\0';
> 
> I totally agree here.

Pushed at: http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=386315b3
Tested with: ./gnulib-tool --create-testdir --with-tests --test yesno gettext

thanks,
Pádraig.



reply via email to

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