public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1000673] New: mktime returns wrong result for 2000/2/29
@ 2009-01-21 3:41 bugzilla-daemon
0 siblings, 0 replies; only message in thread
From: bugzilla-daemon @ 2009-01-21 3:41 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000673
Summary: mktime returns wrong result for 2000/2/29
Product: eCos
Version: unknown
Platform: Other (please specify)
OS/Version: Other
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: C library
AssignedTo: jifl@ecoscentric.com
ReportedBy: manboy.huang@gmail.com
QAContact: ecos-bugs@ecos.sourceware.org
Class: ---
mktime result for 2000/2/29 x:x:x is wrong (the same as 2000/3/1)
Reproducible: Always
Steps to Reproduce:
1.use mktime() to get time_t for 2000/2/29 x:x:x
2.
3.
in timeutil.cxx,
it passes wrong parameter to cyg_libc_time_year_is_leap
wrong:
cyg_libc_time_year_is_leap(timeptr->tm_year);
correct:
cyg_libc_time_year_is_leap(1900+timeptr->tm_year);
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-21 3:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-21 3:41 [Bug 1000673] New: mktime returns wrong result for 2000/2/29 bugzilla-daemon
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).