diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-18 02:55:21 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-18 02:55:21 +0000 |
commit | 3a0631427de636599304432a7a991fa8aa484fc8 (patch) | |
tree | ef944ce25d088e4505de7581224e01dd729b6e09 /usr.sbin/xntpd | |
parent | 03deccaeb8aea0cca4588a63ad838c4d6a64a4ca (diff) | |
download | FreeBSD-src-3a0631427de636599304432a7a991fa8aa484fc8.zip FreeBSD-src-3a0631427de636599304432a7a991fa8aa484fc8.tar.gz |
From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
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:
Diffstat (limited to 'usr.sbin/xntpd')
-rwxr-xr-x | usr.sbin/xntpd/scripts/monitoring/timelocal.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/scripts/monitoring/timelocal.pl b/usr.sbin/xntpd/scripts/monitoring/timelocal.pl index d0f73a2..061f925 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 { |