This is the mail archive of the glibc-bugs@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]

[Bug libc/4773] New: strptime()'s '%b' descriptor should be greedy


strptime()'s '%b'/'%B'/'%h' field descriptor should use greedy matching.
Currently, it uses first fit, which causes strptime() to misparse months in, at
least, Polish and Vietnamese locale, e.g.:

* 'VIII' (August) is incorrectly matched as 'V' (May).
* 'Tháng mư�i m�t' (November) is incorrectly matched as 'Tháng mư�i' (October).

-- 
           Summary: strptime()'s '%b' descriptor should be greedy
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: inkerman42 at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4773

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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