[Fontconfig-bugs] [Bug 54138] New: X_OK permission is invalid for win32 access(..) calls
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 27 17:50:13 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=54138
Bug #: 54138
Summary: X_OK permission is invalid for win32 access(..) calls
Classification: Unclassified
Product: fontconfig
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Windows (All)
Status: NEW
Severity: major
Priority: medium
Component: library
AssignedTo: fontconfig-bugs at lists.freedesktop.org
ReportedBy: pkoshevoy at gmail.com
QAContact: freedesktop at behdad.org
a fatal error occurs when initializing fontconfig font cache on
windows. The problem is due to access(.., W_OK|X_OK) call(s) in fccache.c
According to
http://msdn.microsoft.com/en-us/library/1w06ktdy%28v=vs.80%29.aspx 01
permission (X_OK in mingw/cygwin headers) is not a valid parameter, and
it causes a fatal error terminating the program.
A possible workaround on the capplication side is to re-implement the
access(..) function to mask out the X_OK (01) bit from the permissions
bitmask, and then call _access with corrected permissions.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Fontconfig-bugs
mailing list