[Fontconfig] [PATCH] Do not remove UUID file when a scanned directory is empty
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 832 bytes
Desc: not available
More information about the Fontconfig