mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +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 Reviewed by: Submitted by: Obtained from:
This commit is contained in:
parent
32b4794aff
commit
40851014d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4594
@ -36,6 +36,7 @@ CONFIG: {
|
||||
$HR = 60 * $MIN;
|
||||
$DAYS = 24 * $HR;
|
||||
$YearFix = ((gmtime(946684800))[5] == 100) ? 100 : 0;
|
||||
1;
|
||||
}
|
||||
|
||||
sub timegm {
|
||||
|
Loading…
Reference in New Issue
Block a user