diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-31 15:12:28 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-31 15:12:28 +0000 |
commit | 2ab2b4951e4525f34bc32876d40bc3f8fe9fe12d (patch) | |
tree | 6deea10c36c344bf49bbc966c5acba861134af60 /System/Posix/Signals.hsc | |
parent | c35901aad10deb32c0128b7186c35bd96bf4a0bc (diff) |
Export CatchInfo,CatchInfoOnce constructors of Handler
This fixes warnings following
commit 910a642294eb3547d0cbb3d5735ad81b964f137b
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date: Mon Oct 29 23:25:25 2012 +0000
Do not treat a constructor in a *pattern* as a *use* of that constructor
I'm not sure if this is the right thing to do: In
commit 1c4608e3b8737dbb9204f850af4d680ccea7d8ec
Author: Simon Marlow <marlowsd@gmail.com>
Date: Thu Feb 19 10:05:32 2009 +0000
Rewrite of signal-handling.
the commit message says:
The new implementation has the capability to define signal handlers
that have access to the siginfo of the signal (#592), but this
functionality is not exposed in this patch.
but this at least gets validate builds working again, and we can change
it if necessary as part of #2451
Diffstat (limited to 'System/Posix/Signals.hsc')
-rw-r--r-- | 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 8195845..722cada 100644 --- a/System/Posix/Signals.hsc +++ b/System/Posix/Signals.hsc @@ -68,7 +68,7 @@ module System.Posix.Signals ( #ifdef __GLASGOW_HASKELL__ -- * Handling signals - Handler(Default,Ignore,Catch,CatchOnce), + Handler(Default,Ignore,Catch,CatchOnce,CatchInfo,CatchInfoOnce), installHandler, #endif |