From 40851014d5be5cd18638a8633ae998f7540cbf67 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 18 Nov 1994 02:55:21 +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 Reviewed by: Submitted by: Obtained from: --- usr.sbin/xntpd/scripts/monitoring/timelocal.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/xntpd/scripts/monitoring/timelocal.pl b/usr.sbin/xntpd/scripts/monitoring/timelocal.pl index d0f73a236676..061f925ac915 100755 --- a/usr.sbin/xntpd/scripts/monitoring/timelocal.pl +++ b/usr.sbin/xntpd/scripts/monitoring/timelocal.pl @@ -36,6 +36,7 @@ CONFIG: { $HR = 60 * $MIN; $DAYS = 24 * $HR; $YearFix = ((gmtime(946684800))[5] == 100) ? 100 : 0; + 1; } sub timegm {