<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Cache file update fails on Windows (also Cygwin)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99360#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Cache file update fails on Windows (also Cygwin)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99360">bug 99360</a>
              from <span class="vcard"><a class="email" href="mailto:akira@tagoh.org" title="Akira TAGOH <akira@tagoh.org>"> <span class="fn">Akira TAGOH</span></a>
</span></b>
        <pre>Speaking of the necessity of locking cache files on *nix, the caches can be
updated from the multiple processes at the same time and they might have
different state of caches depending on scanning font directories. thus, trying
to lock before scanning and unlock after writing down a cache. why we take a
fd, is that because the syscall of F_SETLKW requires it.

I guess the issue around the file lock may be less likely to happen on Win32
because the caches may be not updated from multiple processes at the same time.
though if you have any better idea to improve this, feel free to submit changes
for that.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>