[Webkit-unassigned] [Bug 238958] New: [GTK][WPE] Clear ICU cache only on timezone changes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 7 13:59:25 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=238958
Bug ID: 238958
Summary: [GTK][WPE] Clear ICU cache only on timezone changes
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aperez at igalia.com
On Linux systems which run systemd-timedated, we can probable use
GDBus to watch the org.freedesktop.timedate1.Timezone property of
the /org/freedesktop/timedate1 system bus object.
The problem with the above approach is that many systems do not use
it (specially embedded ones running WPE, or BSDs running the GTK
port), so instead we may need to pick some info of /etc/localtime
(mtime, ctime, inode/device number?, …) and then only invalidate
the caches when those change.
Extra complication: the /etc/localtime file can be a symlink (and
it often is!) so it may be needed to track the properties of the
target file as well \:-\
Side question: does systemd-timedated take notice itself of changed
done manually to the /etc/localtime file *without* using timedatectl?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220407/605c2513/attachment.htm>
More information about the webkit-unassigned
mailing list