[Fontconfig-bugs] [Bug 99360] New: Cache file update fails on Windows (also Cygwin)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 11 11:53:51 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99360

            Bug ID: 99360
           Summary: Cache file update fails on Windows (also Cygwin)
           Product: fontconfig
           Version: 2.12
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: library
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: trueroad at trueroad.jp
        QA Contact: freedesktop at behdad.org

Created attachment 128889
  --> https://bugs.freedesktop.org/attachment.cgi?id=128889&action=edit
0001-Fix-cache-file-update-on-MinGW-and-Cygwin.patch

If you have an old cache file and need updating, the updating fails on Windows
(both MinGW and Cygwin).

On Windows, opened or locked files cannot be removed.
Since fontconfig locked an old cache file while updating the file, fontconfig
failed to replace the file with updated file on Windows.

I've created a patch.
It makes fontconfig does not lock the old cache file while updating it on
Windows (both MinGW and Cygwin).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170111/aa81122b/attachment.html>


More information about the Fontconfig-bugs mailing list