public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4773] New: strptime()'s '%b' descriptor should be greedy
@ 2007-07-10 20:46 inkerman42 at gmail dot com
  2007-07-10 21:06 ` [Bug libc/4773] " tomek at jot23 dot org
  2007-07-10 22:14 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: inkerman42 at gmail dot com @ 2007-07-10 20:46 UTC (permalink / raw)
  To: glibc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/4773] strptime()'s '%b' descriptor should be greedy
  2007-07-10 20:46 [Bug libc/4773] New: strptime()'s '%b' descriptor should be greedy inkerman42 at gmail dot com
@ 2007-07-10 21:06 ` tomek at jot23 dot org
  2007-07-10 22:14 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tomek at jot23 dot org @ 2007-07-10 21:06 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomek at jot23 dot org


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/4773] strptime()'s '%b' descriptor should be greedy
  2007-07-10 20:46 [Bug libc/4773] New: strptime()'s '%b' descriptor should be greedy inkerman42 at gmail dot com
  2007-07-10 21:06 ` [Bug libc/4773] " tomek at jot23 dot org
@ 2007-07-10 22:14 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2007-07-10 22:14 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-07-10 22:14 -------
Fixed in cvs.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-10 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-10 20:46 [Bug libc/4773] New: strptime()'s '%b' descriptor should be greedy inkerman42 at gmail dot com
2007-07-10 21:06 ` [Bug libc/4773] " tomek at jot23 dot org
2007-07-10 22:14 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).