[Patch] Remove unwanted whitespace in zh_CN locale
David Miller
davem@davemloft.net
Mon Dec 3 17:31:00 GMT 2012
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
More information about the Libc-alpha
mailing list