This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6657] New: strptime era support broken
- From: "pasky at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Jun 2008 22:43:03 -0000
- Subject: [Bug libc/6657] New: strptime era support broken
- Reply-to: sourceware-bugzilla at sourceware dot org
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.