[Fontconfig] X_OK permission is invalid for win32 access(..) calls
Pavel Koshevoy
pkoshevoy at gmail.com
Mon Aug 27 18:04:38 PDT 2012
On 8/27/12 1:04 AM, Akira TAGOH wrote:
> Hi,
>
> Thanks for reporting. can you file a bug on https://bugs.freedesktop.org please?
Done, https://bugs.freedesktop.org/show_bug.cgi?id=54138
Thank you,
Pavel.
>
> On Sat, Aug 25, 2012 at 1:57 PM, Pavel Koshevoy <pkoshevoy at gmail.com> wrote:
>> Hi,
>>
>> I have run into a fatal error when initializing fontconfig font cache on
>> windows.
>> I've tracked down the problem 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.
>>
>> I've been able to hack-around this program by re-implementing access(..) in
>> my program and masking out the X_OK (01) bit from the permissions bitmask.
>> However, I would prefer to see this fixed properly at the upstream.
>>
>> Pavel.
>>
>> _______________________________________________
>> Fontconfig mailing list
>> Fontconfig at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>
>
More information about the Fontconfig
mailing list