[Fontconfig] X_OK permission is invalid for win32 access(..) calls
Akira TAGOH
akira at tagoh.org
Mon Aug 27 00:04:21 PDT 2012
Hi,
Thanks for reporting. can you file a bug on https://bugs.freedesktop.org please?
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
--
Akira TAGOH
More information about the Fontconfig
mailing list