libc/time mktime.c

roland@sourceware.org roland@sourceware.org
Fri Oct 22 22:15:00 GMT 2004


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



More information about the Glibc-cvs mailing list