From: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] fontconfig: font directories modified after indexing
Date: Thu, 15 Dec 2022 03:01:57 +0100 [thread overview]
Message-ID: <20221215020157.b8ZHdbuj9qOPRBHesPPtfVFr7AlHc2l_t6DZLkQhjHY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37367@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]
Closed issue by ghost on void-packages repository
https://github.com/void-linux/void-packages/issues/37367
Description:
<!-- Don't request update of package. We have a script for that. https://repo-default.voidlinux.org/void-updates/void-updates.txt. However, a quality pull request may help. -->
### System
* xuname:
* ``Void 5.16.20_1 x86_64 GenuineIntel uptodate FFFFFFFF``
* package:
* ``fontconfig-2.13.1_3``
### Expected behavior
When font directories are indexed, they should only be read. They should not be modified, as one of the purposes of indexing font directories is to detect font updates and if directories are modified upon being indexed, erroneous font updates will be reported.
### Actual behavior
Every time fontconfig indexes existing font directories, if a font directory is empty and writable by the user under which the indexing is performed, its modified time is updated.
This breaks the font update detection feature of fontconfig since if indexing font directories results in some of them being modified, fontconfig will report font updates after each index instead of reporting only actual changes to the available fonts.
Additionally, this cause the font cache at ``~/.cache/fontconfig/`` to become populated with redundant data as updates are detected and cached when no actual changes have taken place.
### Steps to reproduce the behavior
1. Install ``fontconfig``
2. Create a font directory which is user-writable such as ``~/.local/share/fonts`` and ensure it is empty.
3. Inspect the modified timestamp on the directory (``stat ~/.local/share/fonts``)
4. Do something which indexes font directories such as running ``fc-list``
5. Inspect the modified timestamp on the directory again (``stat ~/.local/share/fonts``) and see that it has been changed.
prev parent reply other threads:[~2022-12-15 2:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-31 17:08 [ISSUE] " chili-b
2022-08-30 2:14 ` github-actions
2022-08-30 11:28 ` Duncaen
2022-08-30 11:28 ` Duncaen
2022-08-30 11:48 ` chili-b
2022-11-30 2:03 ` github-actions
2022-12-15 2:01 ` github-actions [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221215020157.b8ZHdbuj9qOPRBHesPPtfVFr7AlHc2l_t6DZLkQhjHY@z \
--to=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).