Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 12:35:55 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 21979 for review
Message-ID:  <200212052035.gB5KZtiM099400@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21979

Change 21979 by peter@peter_daintree on 2002/12/05 12:35:07

	IFC @21976 (oops, missed the important change I wanted)

Affected files ...

.. //depot/projects/ia64/lib/libc/stdtime/localtime.c#11 integrate

Differences ...

==== //depot/projects/ia64/lib/libc/stdtime/localtime.c#11 (text+ko) ====

@@ -9,7 +9,7 @@
 #endif /* !defined NOID */
 #endif /* !defined lint */
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libc/stdtime/localtime.c,v 1.34 2002/12/02 01:05:08 peter Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/stdtime/localtime.c,v 1.35 2002/12/05 19:54:47 peter Exp $");
 
 /*
 ** Leap second handling from Bradley White (bww@k.gp.cs.cmu.edu).
@@ -1476,7 +1476,8 @@
 	*/
 	bits = TYPE_BIT(time_t) - 1;
 	/*
-	** If we have more than this, we will overflow tm_year in tmcomp().
+	** If we have more than this, we will overflow tm_year for tmcomp().
+	** We should really return an error if we cannot represent it.
 	*/
 	if (bits > 56)
 		bits = 56;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212052035.gB5KZtiM099400>