On Wed, 27 Oct 2021, LIU Hao wrote:
在 2021-10-25 15:21, Martin Storsjö 写道:
So if we want to override/redirect access() on UCRT, we need to replace
the access() function altogether in the import library.
How about defining `X_OK` as zero, so it should have no effect at all?
This was evaluated back when the first round of issues with access
(in msvcrt.dll on early Vista), but it was concluded that one can't do
that, it breaks GCC's code (which expects the bits to have distinct
nonzero values I guess).
// Martin
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public