Bug 6366 - Caching breaks on mingw32 with trailing slashes
Summary: Caching breaks on mingw32 with trailing slashes
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Patrick Lam
QA Contact:
URL:
Whiteboard:
Keywords:
: 3358 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-24 04:43 UTC by Han-Wen Nienhuys
Modified: 2006-04-07 10:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch (4.43 KB, text/plain)
2006-03-24 04:44 UTC, Han-Wen Nienhuys
Details
Make fontconfig compile on mingw, perhaps (3.00 KB, patch)
2006-04-06 16:05 UTC, Patrick Lam
Details | Splinter Review

Description Han-Wen Nienhuys 2006-03-24 04:43:13 UTC
Hi,

On window32 (with mingw crosscompiler), Fontconfig can't stat a directory if its
name ends in a slash. This breaks FcDirCacheValid(). The attached patch fixes
this, and cleans up the fucntion and its debug output a bit.
Comment 1 Han-Wen Nienhuys 2006-03-24 04:44:27 UTC
Created attachment 5037 [details]
patch
Comment 2 Han-Wen Nienhuys 2006-03-24 04:45:07 UTC
BTW, See you at FISL 2006 !
Comment 3 Patrick Lam 2006-04-04 14:40:39 UTC
Does this still occur in fc-2_4-branch?  If so, can you prepare a patch against
the branch?  I suspect it doesn't, and even if it does, it should be easier to fix.
Comment 4 Han-Wen Nienhuys 2006-04-04 19:13:03 UTC
I can't compile 2.3.94 for mingw. See bug #6494 
Comment 5 Patrick Lam 2006-04-06 15:18:13 UTC
*** Bug 3358 has been marked as a duplicate of this bug. ***
Comment 6 Patrick Lam 2006-04-06 16:05:20 UTC
Created attachment 5207 [details] [review]
Make fontconfig compile on mingw, perhaps

Eliminates uses of mmap and sysconf if they're not defined.  Might make
fontconfig compile on mingw now...
Comment 7 Patrick Lam 2006-04-07 14:43:57 UTC
I've committed something that makes fontconfig compile.  Does it work?
Comment 8 Patrick Lam 2006-04-08 03:39:32 UTC
per dom, fontconfig now appears to work on mingw32.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.