On Fri, 2007-08-10 at 18:26 +0800, JonY wrote:
> I am confused about what __mingw_access actually does. From what I read,
> I tries to fix the X_ok problem in Vista.
> So, what exactly is the difference between access() and __mingw_access()?
> Unfortunately, I have little experience in C, so can some one enlighten me?
>From what I can gather, the Vista shipped version of the C library
returns an error when X_OK is passed in the flags, where as previous
versions of the C library did not (they ignored the X_OK flag). The
MinGW version of the function ignores the X_OK flag, to behave like the
old C library functionality. See here -