Repository : ssh://darcs.haskell.org//srv/darcs/packages/unix

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/2ab2b4951e4525f34bc32876d40bc3f8fe9fe12d

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

commit 2ab2b4951e4525f34bc32876d40bc3f8fe9fe12d
Author: Ian Lynagh <[email protected]>
Date:   Wed Oct 31 15:12:28 2012 +0000

    Export CatchInfo,CatchInfoOnce constructors of Handler
    
    This fixes warnings following
        commit 910a642294eb3547d0cbb3d5735ad81b964f137b
        Author: Simon Peyton Jones <[email protected]>
        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 <[email protected]>
        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

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

 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
 



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to