From 419011d7837d444eec5855559c03cfdad42388df Mon Sep 17 00:00:00 2001 From: Peter Edberg Date: Tue, 19 Sep 2017 06:28:29 +0000 Subject: [PATCH] ICU-12770 Fix comment about TZZONEINFO path on different systems X-SVN-Rev: 40432 --- icu4c/source/common/putil.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/icu4c/source/common/putil.cpp b/icu4c/source/common/putil.cpp index 8b3d540b17b..f15f7c41def 100644 --- a/icu4c/source/common/putil.cpp +++ b/icu4c/source/common/putil.cpp @@ -676,9 +676,10 @@ extern U_IMPORT char *U_TZNAME[]; #if !UCONFIG_NO_FILE_IO && ((U_PLATFORM_IS_DARWIN_BASED && (U_PLATFORM != U_PF_IPHONE || defined(U_TIMEZONE))) || U_PLATFORM_IS_LINUX_BASED || U_PLATFORM == U_PF_BSD || U_PLATFORM == U_PF_SOLARIS) /* These platforms are likely to use Olson timezone IDs. */ /* common targets of the symbolic link at TZDEFAULT are: - * "/usr/share/zoneinfo/" default, macOS to 10.12 + * "/usr/share/zoneinfo/" default, older Linus distros, macOS to 10.12 + * "../usr/share/zoneinfo/" newer Linux distros: Red Hat Enterprise Linux 7, Ubuntu, SuSe Linux * "/usr/share/lib/zoneinfo/" Solaris - * "../usr/share/lib/zoneinfo/" Solaris, Red Hat Enterprise Linux 7, Ubuntu + * "../usr/share/lib/zoneinfo/" Solaris * "/var/db/timezone/zoneinfo/" macOS 10.13 * To avoid checking lots of paths, just check that the target path * before the ends with "/zoneinfo/", and the is valid.