This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/469] mktime bug when INT_MAX - 1900 < tm_year
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Oct 2004 22:15:47 -0000
- Subject: [Bug libc/469] mktime bug when INT_MAX - 1900 < tm_year
- References: <20041022195405.469.eggert@gnu.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-22 22:15 -------
Subject: Bug 469
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2004-10-22 22:15:42
Modified files:
time : mktime.c
Log message:
2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
[BZ #469] Imported from gnulib.
* time/mktime.c (__isleap): Remove; all uses replaced by:
(leapyear): New function, which avoids overflow by not adding
1900 to year before testing whether it is a leap year.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/time/mktime.c.diff?cvsroot=glibc&r1=1.56&r2=1.57
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=469
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.