[Fontconfig] [PATCH] Do not remove UUID file when a scanned directory is empty

Akira TAGOH akira at tagoh.org
Fri Oct 26 03:29:48 UTC 2018

On Fri, Oct 26, 2018 at 4:38 AM Keith Packard <keithp at keithp.com> wrote:
> 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.

Right. and that has already been done in git. but this still seems not
enough for AppArmor. so I'm planning to take an action of removal only
when running fc-cache or similar as a result.

> 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


More information about the Fontconfig mailing list