Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
unix
Commits
e0bc46b8
Commit
e0bc46b8
authored
Dec 08, 2014
by
David Terei
Browse files
More fixes for Safe Haskell bounds under GHC 7.10
parent
59861061
Changes
20
Hide whitespace changes
Inline
Side-by-side
System/Posix/ByteString/FilePath.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.ByteString.FilePath
...
...
System/Posix/Directory/Common.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
...
...
System/Posix/DynamicLinker.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
System/Posix/DynamicLinker/ByteString.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.DynamicLinker.ByteString
...
...
System/Posix/DynamicLinker/Common.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
System/Posix/DynamicLinker/Module/ByteString.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.DynamicLinker.Module.ByteString
...
...
System/Posix/Env/ByteString.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
{-# LANGUAGE Trustworthy #-}
#if __GLASGOW_HASKELL__ >= 709
{-# OPTIONS_GHC -fno-warn-trustworthy-safe #-}
#endif
#endif
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Env.ByteString
...
...
System/Posix/Error.hs
View file @
e0bc46b8
{-# LANGUAGE CPP #-}
#
ifdef
__GLASGOW_HASKELL__
#
if
__GLASGOW_HASKELL__
>=
709
{-# LANGUAGE Safe #-}
#
elif
__GLASGOW_HASKELL__
>=
703
{-# LANGUAGE Trustworthy #-}
#
endif
-----------------------------------------------------------------------------
...
...
System/Posix/Files.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
{-# LANGUAGE CApiFFI #-}
...
...
System/Posix/Files/ByteString.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
{-# LANGUAGE CApiFFI #-}
...
...
System/Posix/IO/Common.hsc
View file @
e0bc46b8
{-# LANGUAGE NondecreasingIndentation, RecordWildCards #-}
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.IO.Common
...
...
System/Posix/Process.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
System/Posix/Process/ByteString.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Process.ByteString
...
...
System/Posix/Resource.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
System/Posix/Semaphore.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
System/Posix/Signals/Exts.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if defined(SIGINFO) || defined(SIGWINCH)
{-# LANGUAGE Trustworthy #-}
#else
{-# LANGUAGE Safe #-}
#endif
#endif
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Signals.Exts
...
...
System/Posix/Terminal.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
System/Posix/Terminal/ByteString.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
System/Posix/Time.hsc
View file @
e0bc46b8
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
System/Posix/Unistd.hsc
View file @
e0bc46b8
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE NondecreasingIndentation #-}
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__ >= 709
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment