Subject: | patch: DateTime::TimeZone::Local::Unix _Readlink bug |
I was getting the "Cannot determine time zone" error on CentOS 4 and I
tracked it down to a bug in _Readlink.
_Readlink is now being called as a class method, so $_[0] is no longer
the file name to check.
Regards,
Bradley C Bailey
Subject: | datetime-timezone-local-unix-readlink.patch |
--- Unix.pm.orig 2007-03-08 15:58:12.000000000 -0700
+++ Unix.pm 2007-03-08 15:58:21.000000000 -0700
@@ -60,7 +60,7 @@
}
}
-sub _Readlink { readlink $_[0] }
+sub _Readlink { readlink $_[1] }
# for systems where /etc/localtime is a copy of a zoneinfo file
sub _FindMatchingZoneinfoFile