This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Remove unwanted whitespace in zh_CN locale


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]