Re: X_OK permission is invalid for win32 access(..) calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux