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 Submitted by: jmb
This commit is contained in:
parent
df5add3f69
commit
d76158cc6e
@ -37,6 +37,7 @@ CONFIG: {
|
||||
$HR = 60 * $MIN;
|
||||
$DAYS = 24 * $HR;
|
||||
$YearFix = ((gmtime(946684800))[5] == 100) ? 100 : 0;
|
||||
1;
|
||||
}
|
||||
|
||||
sub timegm {
|
||||
|
Loading…
x
Reference in New Issue
Block a user