Commits (2)
{-# LANGUAGE CPP #-} {-# LANGUAGE CPP #-}
#ifdef __GLASGOW_HASKELL__ #ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#else
{-# LANGUAGE Trustworthy #-} {-# LANGUAGE Trustworthy #-}
#endif
{-# LANGUAGE InterruptibleFFI #-} {-# LANGUAGE InterruptibleFFI #-}
#endif #endif
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Expose documentation for `System.Process.Internals` * Expose documentation for `System.Process.Internals`
* With GHC 7.10, `System.Cmd` and `System.Process` are now `Safe`
(when compiled with older GHC versions they are just `Trustworthy`)
## 1.2.0.0 *Dec 2013* ## 1.2.0.0 *Dec 2013*
* Update to Cabal 1.10 format * Update to Cabal 1.10 format
......
...@@ -38,6 +38,8 @@ library ...@@ -38,6 +38,8 @@ library
InterruptibleFFI InterruptibleFFI
RecordWildCards RecordWildCards
Trustworthy Trustworthy
if impl(ghc>=7.9)
other-extensions: Safe
exposed-modules: exposed-modules:
System.Cmd System.Cmd
......