Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/arch/atari/dev Pull up revision 1.24 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/6b11685448a5
branches:  netbsd-1-5
changeset: 490770:6b11685448a5
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 26 22:49:25 2001 +0000

description:
Pull up revision 1.24 (requested by leo):
  Fix y2k+1 problem.

diffstat:

 sys/arch/atari/dev/clock.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r eb0d12c290d0 -r 6b11685448a5 sys/arch/atari/dev/clock.c
--- a/sys/arch/atari/dev/clock.c        Mon Feb 26 22:44:34 2001 +0000
+++ b/sys/arch/atari/dev/clock.c        Mon Feb 26 22:49:25 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.c,v 1.23 2000/06/07 14:26:11 leo Exp $   */
+/*     $NetBSD: clock.c,v 1.23.2.1 2001/02/26 22:49:25 he Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -434,7 +434,7 @@
                return(0);
        if (range_test(clkregs[MC_MONTH], 1, 12))
                return(0);
-       if(clkregs[MC_YEAR] > (2000 - GEMSTARTOFTIME))
+       if(clkregs[MC_YEAR] > 99)
                return(0);
 
        dt.dt_year = clkregs[MC_YEAR] + GEMSTARTOFTIME;



Home | Main Index | Thread Index | Old Index