public inbox for ecos-bugs@sourceware.org help / color / mirror / Atom feed
From: bugzilla-daemon@ecoscentric.com To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1000673] New: mktime returns wrong result for 2000/2/29 Date: Wed, 21 Jan 2009 03:41:00 -0000 [thread overview] Message-ID: <bug-1000673-13@http.bugs.ecos.sourceware.org/> (raw) 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.
reply other threads:[~2009-01-21 3:41 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-1000673-13@http.bugs.ecos.sourceware.org/ \ --to=bugzilla-daemon@ecoscentric.com \ --cc=ecos-bugs@ecos.sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).