public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6657] New: strptime era support broken
@ 2008-06-18 22:43 pasky at suse dot cz
  2008-06-18 22:45 ` [Bug libc/6657] " pasky at suse dot cz
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pasky at suse dot cz @ 2008-06-18 22:43 UTC (permalink / raw)
  To: glibc-bugs

strptime()'s support for eras has been broken by time/strptime_l.c:1.10 - tm is
not adjusted within the recursion anymore, but era_cnt is reset in the caller,
thus era information will never be propagated to the tm structure. I don't
understand the purpose of resetting era_cnt, so my idea for the simplest fix is
to simply get rid of that.

-- 
           Summary: strptime era support broken
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: pasky at suse dot cz
                CC: glibc-bugs at sources dot redhat dot com


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

------- 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] 6+ messages in thread

end of thread, other threads:[~2008-06-27 17:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-18 22:43 [Bug libc/6657] New: strptime era support broken pasky at suse dot cz
2008-06-18 22:45 ` [Bug libc/6657] " pasky at suse dot cz
2008-06-26  0:41 ` drepper at redhat dot com
2008-06-26  1:21 ` pasky at suse dot cz
2008-06-26  1:21 ` pasky at suse dot cz
2008-06-27 17:24 ` 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).