[Patch] Remove unwanted whitespace in zh_CN locale

Jeff Law law@redhat.com
Mon Dec 3 18:24:00 GMT 2012


On 12/03/2012 10:31 AM, David Miller wrote:
> From: Jeff Law <law@redhat.com>
> Date: Mon, 03 Dec 2012 10:13:08 -0700
>
>>
>> According to this downstream bug report:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=657588
>>
>> Whitespace in the abbreviated months can cause problems reading dates
>> with strptime with a pattern such as %Y %b %d.  The space after the %Y
>> will match any number of spaces in the input string.  Thus there's no
>> space left in the input string to match the space at the start of the
>> abbreviated month.
>>
>> This patch fixes the zh_CN locale.  I have not audited other locales
>> to see if they suffer from the same problem.
>>
>>
>> We've been running with this patch in Fedora since Feb 2012.
>>
>> OK for the trunk, or shall we wait until post glibc-2.17?
>
> I'm personally fine with this for 2.17
Thanks.  Installed.

jeff



More information about the Libc-alpha mailing list