]> granicus.if.org Git - icu/commitdiff
ICU-12770 Fix comment about TZZONEINFO path on different systems
authorPeter Edberg <pedberg@unicode.org>
Tue, 19 Sep 2017 06:28:29 +0000 (06:28 +0000)
committerPeter Edberg <pedberg@unicode.org>
Tue, 19 Sep 2017 06:28:29 +0000 (06:28 +0000)
X-SVN-Rev: 40432

icu4c/source/common/putil.cpp

index 8b3d540b17ba3f315b1fa83b678a92b7aba13b06..f15f7c41deffd22e0e577f4f312e887fe437daff 100644 (file)
@@ -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/<olsonID>" default, macOS to 10.12
+ * "/usr/share/zoneinfo/<olsonID>" default, older Linus distros, macOS to 10.12
+ * "../usr/share/zoneinfo/<olsonID>" newer Linux distros: Red Hat Enterprise Linux 7, Ubuntu, SuSe Linux
  * "/usr/share/lib/zoneinfo/<olsonID>" Solaris
- * "../usr/share/lib/zoneinfo/<olsonID>" Solaris, Red Hat Enterprise Linux 7, Ubuntu
+ * "../usr/share/lib/zoneinfo/<olsonID>" Solaris
  * "/var/db/timezone/zoneinfo/<olsonID>" macOS 10.13
  * To avoid checking lots of paths, just check that the target path
  * before the <olsonID> ends with "/zoneinfo/", and the <olsonID> is valid.