[Fontconfig] [PATCH] Do not remove UUID file when a scanned directory is empty
Keith Packard
keithp at keithp.com
Thu Oct 25 19:38:11 UTC 2018
Akira TAGOH <akira at tagoh.org> writes:
> Thanks for the patch. I'll move this process into the separate API and
> call it only when running fc-cache with some option.
The important part is to not affect the directory mod time when removing
the file or any other process will re-scan at that time, which causes it
to re-create the UUID file and re-delete it, again adjusting the
directory modification time forever.
If possible, avoiding creation of the UUID file until it is necessary
would be better, but I didn't want to change the order of that wrt
scanning subdirectories.
--
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20181025/44a07a18/attachment.sig>
More information about the Fontconfig
mailing list