On Thu, 2012-08-23 at 14:21 +0200, Frederic Crozat wrote:
Le mardi 21 août 2012 à 23:11 -0700, Shawn Landden a écrit :
@@ -218,19 +248,21 @@ static int write_data_timezone(void) {
return r;
}
-p = strappend(/usr/share/zoneinfo/, tz.zone);
+
Le mardi 21 août 2012 à 23:11 -0700, Shawn Landden a écrit :
@@ -218,19 +248,21 @@ static int write_data_timezone(void) {
return r;
}
-p = strappend(/usr/share/zoneinfo/, tz.zone);
+p = strappend(ZONEINFO_PATH, tz.zone);
if (!p)
/etc/localtime - /usr/share/zoneinfo/...
or
/etc/localtime - ../usr/share/zoneinfo/...
(note, ../usr is not the same if /etc is a symlink, as this isn't
using canonicalize_file_name())
keep other method for now, consider dropping later.
Supporting relative links here are problematic as