signal handling weirdness

2005-04-17 Thread Volker Wysk
Hello. I'm trying to install a handler for the TERM signal: import System.Posix.Signals import System.Posix.Unistd import Monad main = do installHandler sigTERM handler Nothing sequence (repeat (putStrLn bla sleep 5)) return () handler = Catch (putStrLn caught SIGTERM) --

[ ghc-Bugs-1177838 ] libraries/GLUT compile on FreeBSD (patch incl)

2005-04-17 Thread SourceForge.net
Bugs item #1177838, was opened at 2005-04-06 17:18 Message generated for change (Comment added) made by spanne You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1177838group_id=8032 Category: libraries (other) Group: None Status: Closed Resolution: Fixed

Re: signal handling weirdness

2005-04-17 Thread Lemmih
On 4/17/05, Volker Wysk [EMAIL PROTECTED] wrote: Hello. I'm trying to install a handler for the TERM signal: import System.Posix.Signals import System.Posix.Unistd import Monad main = do installHandler sigTERM handler Nothing sequence (repeat (putStrLn bla sleep 5))