[commit: unix] master: Fix some parentheses (0b0915a)
Ian Lynagh
igloo at earth.li
Fri Jan 18 00:28:36 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/packages/unix
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/0b0915a188e30db83b43e478a4a52990461ad7b2
>---------------------------------------------------------------
commit 0b0915a188e30db83b43e478a4a52990461ad7b2
Author: Ian Lynagh <ian at well-typed.com>
Date: Thu Jan 17 19:14:13 2013 +0000
Fix some parentheses
I assume that this is what was intended.
>---------------------------------------------------------------
System/Posix/Signals.hsc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc
index da12acd..c49775d 100644
--- a/System/Posix/Signals.hsc
+++ b/System/Posix/Signals.hsc
@@ -295,7 +295,7 @@ foreign import ccall unsafe "killpg"
raiseSignal :: Signal -> IO ()
raiseSignal sig = throwErrnoIfMinus1_ "raiseSignal" (c_raise sig)
-#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS)) || defined(netbsd_HOST_OS)
+#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) || defined(netbsd_HOST_OS))
foreign import ccall unsafe "genericRaise"
c_raise :: CInt -> IO CInt
#else
More information about the ghc-commits
mailing list