Files
mesa/src/util
Timothy Arceri 5ad508d743 util/disk_cache: dont create multidisk cache dir if unused
As reported in issue #11825 the code that is meant to clean up old
cache dirs actually ends up creating an empty dir due to reusing
existing code to create the cache path required for the potential
cleanup.

Here we make the code more flexible allowing cache path strings
to be returned by the helpers if the directory already exists
or returning NULL if we don't want to create a new directory.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11825
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33699>
2025-02-25 00:11:03 +00:00
..
2023-11-02 21:03:46 +00:00
2023-12-06 07:22:02 +00:00
2022-09-29 23:40:18 +00:00
2022-09-29 23:40:18 +00:00
2023-10-09 23:37:52 +00:00
2024-01-16 02:15:22 +00:00
2024-10-09 22:53:05 +00:00
2024-08-13 20:35:23 +00:00
2023-10-25 17:27:47 +00:00
2024-10-30 12:59:10 +00:00
2022-06-02 13:09:16 +00:00
2022-11-04 23:20:02 +00:00
2022-11-04 23:20:02 +00:00
2023-10-30 12:35:07 +00:00
2024-11-13 23:33:15 +00:00
2024-06-07 18:29:20 +00:00
2024-11-08 08:09:49 -08:00
2022-11-24 04:33:07 +00:00
2024-06-07 18:29:20 +00:00