From d76158cc6ec5a0649b0f6ff5779a1a8b29cb906e Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 18 Nov 1994 02:24:06 +0000 Subject: [PATCH] From: "Jonathan M. Bresler" in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has a bug. a patch is included below. this needs to be applied to both src/gnu/usr.bin/perl/lib/timelocal.pl and src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl Submitted by: jmb --- gnu/usr.bin/perl/lib/timelocal.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/usr.bin/perl/lib/timelocal.pl b/gnu/usr.bin/perl/lib/timelocal.pl index b7367fae9dbd..7028c8e01a24 100644 --- a/gnu/usr.bin/perl/lib/timelocal.pl +++ b/gnu/usr.bin/perl/lib/timelocal.pl @@ -37,6 +37,7 @@ CONFIG: { $HR = 60 * $MIN; $DAYS = 24 * $HR; $YearFix = ((gmtime(946684800))[5] == 100) ? 100 : 0; + 1; } sub timegm {