Project 'ghc/ghc-wasm-meta' was moved to 'haskell-wasm/ghc-wasm-meta'. Please update any links and bookmarks that may still have the old path.
Rework withTempFile code and use System.IO.openTempFile where available
The System.IO.openTempFile is much better because it opens the temp files securely. Howver it is only available in base-2 and only of GHC. In base-3 it is available for all implementations. So in practice that means it's only for GHC and we have to use our compatability implementation for hugs and nhc98. Not sure of the status for jhc.
Showing
- Distribution/Compat/TempFile.hs 18 additions, 38 deletionsDistribution/Compat/TempFile.hs
- Distribution/Simple/GHC.hs 6 additions, 5 deletionsDistribution/Simple/GHC.hs
- Distribution/Simple/Program.hs 5 additions, 4 deletionsDistribution/Simple/Program.hs
- Distribution/Simple/Utils.hs 11 additions, 6 deletionsDistribution/Simple/Utils.hs
Loading
Please register or sign in to comment