diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-18 02:24:06 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-18 02:24:06 +0000 |
commit | cbf05342b5b8cbf4ec8caddeaf79a88c53e58771 (patch) | |
tree | eea6af46e3fcc2096fa938176584d9248a0718bc | |
parent | 37902212573c95908691aea932ceecedd7805ada (diff) | |
download | FreeBSD-src-cbf05342b5b8cbf4ec8caddeaf79a88c53e58771.zip FreeBSD-src-cbf05342b5b8cbf4ec8caddeaf79a88c53e58771.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
Submitted by: jmb
-rw-r--r-- | gnu/usr.bin/perl/lib/timelocal.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/lib/timelocal.pl b/gnu/usr.bin/perl/lib/timelocal.pl index b7367fa..7028c8e 100644 --- a/gnu/usr.bin/perl/lib/timelocal.pl +++ b/gnu/usr.bin/perl/lib/timelocal.pl @@ -37,6 +37,7 @@ CONFIG: { $HR = 60 * $MIN; $DAYS = 24 * $HR; $YearFix = ((gmtime(946684800))[5] == 100) ? 100 : 0; + 1; } sub timegm { |