mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 18:54:52 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4592
|
@ -37,6 +37,7 @@ CONFIG: {
|
|||
$HR = 60 * $MIN;
|
||||
$DAYS = 24 * $HR;
|
||||
$YearFix = ((gmtime(946684800))[5] == 100) ? 100 : 0;
|
||||
1;
|
||||
}
|
||||
|
||||
sub timegm {
|
||||
|
|
Loading…
Reference in a new issue