Skip to content
Commit 4cd7db4b authored by Timothy Arceri's avatar Timothy Arceri Committed by Juan A. Suarez Romero
Browse files

util: disable cache if we have no build-id and timestamp is zero



Timestamp can be zero for example when Flatpak is used. In this
case just disable the cache rather then segfaulting when
incompatible cache items are loaded.

V2: actually return false when mtime is 0.

Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
(cherry picked from commit ea66bfda)
parent bf21df1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment