System.Directory.getPermissions gives wrong answer on Vista
|Reported by:||simonmar||Owned by:||simonmar|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
access(X_OK,...) isn't supported by the C runtime on Vista (strictly speaking, it hasn't been supported on any Windows OS, but Vista checks the arguments a bit more carefully than earlier OSs). This means that System.Directory.getPermissions claims that everything is non-executable, and consequently Cabal fails when trying to invoke something via rawSystemPath (in Distribution.Simple.Utils).
This is making GHC's build fall over on Vista currently, so we need a fix/workaround (current workaround is to disable the getPermissions call in Distribution.Simple.Utils.rawSystemPath).