#1280: System.Directory.getPermissions gives wrong answer on Vista
-------------------------+--------------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.8
Component: Compiler | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Windows
-------------------------+--------------------------------------------------
`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`).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1280>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs