[commit: packages/unix] master: Declare language extensions via `{-# LANGUAGE -#}` (43de23c)

git at git.haskell.org git at git.haskell.org
Sat Oct 12 12:02:05 UTC 2013


Repository : ssh://git@git.haskell.org/unix

On branch  : master
Link       : http://git.haskell.org/packages/unix.git/commitdiff/43de23c79db9e6e9a6de984b964cc9bdf74e50c2

>---------------------------------------------------------------

commit 43de23c79db9e6e9a6de984b964cc9bdf74e50c2
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Oct 12 13:01:50 2013 +0200

    Declare language extensions via `{-# LANGUAGE -#}`
    
    Only language extensions not active when `-XHaskell2010` is enabled are
    declared, this way we can drop many redundant
    `{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also
    removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

43de23c79db9e6e9a6de984b964cc9bdf74e50c2
 System/Posix.hs                                  |    1 +
 System/Posix/ByteString.hs                       |    1 +
 System/Posix/Directory.hsc                       |    2 +-
 System/Posix/Directory/ByteString.hsc            |    2 +-
 System/Posix/Directory/Common.hsc                |    1 -
 System/Posix/DynamicLinker/Module.hsc            |    1 -
 System/Posix/DynamicLinker/Module/ByteString.hsc |    1 -
 System/Posix/DynamicLinker/Prim.hsc              |    1 -
 System/Posix/Env.hsc                             |    1 -
 System/Posix/Env/ByteString.hsc                  |    1 -
 System/Posix/Error.hs                            |    1 +
 System/Posix/Files.hsc                           |    1 -
 System/Posix/Files/Common.hsc                    |    1 -
 System/Posix/IO.hsc                              |    2 --
 System/Posix/IO/ByteString.hsc                   |    2 --
 System/Posix/IO/Common.hsc                       |    3 +--
 System/Posix/Process.hsc                         |    1 -
 System/Posix/Process/ByteString.hsc              |    1 -
 System/Posix/Process/Common.hsc                  |    2 +-
 System/Posix/Process/Internals.hs                |    1 +
 System/Posix/Resource.hsc                        |    1 -
 System/Posix/Semaphore.hsc                       |    1 -
 System/Posix/SharedMem.hsc                       |    1 -
 System/Posix/Signals.hsc                         |    2 +-
 System/Posix/Signals/Exts.hsc                    |    1 -
 System/Posix/Temp.hsc                            |    1 -
 System/Posix/Temp/ByteString.hsc                 |    1 -
 System/Posix/Terminal.hsc                        |    1 -
 System/Posix/Terminal/ByteString.hsc             |    1 -
 System/Posix/Terminal/Common.hsc                 |    1 -
 System/Posix/Time.hsc                            |    1 -
 System/Posix/Unistd.hsc                          |    2 +-
 System/Posix/User.hsc                            |    5 +++--
 tests/signals001.hs                              |    2 ++
 34 files changed, 15 insertions(+), 33 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 43de23c79db9e6e9a6de984b964cc9bdf74e50c2


More information about the ghc-commits mailing list