#2870: User signals are not blocked before 'fork' in runInteractiveProcess
-----------------------------------------------+----------------------------
    Reporter:  dsh                             |        Owner:  igoo            
        Type:  merge                           |       Status:  new             
    Priority:  high                            |    Milestone:  6.10.2          
   Component:  libraries/process               |      Version:  6.10.1          
    Severity:  normal                          |   Resolution:                  
    Keywords:  threaded runInteractiveProcess  |   Difficulty:  Unknown         
    Testcase:                                  |           Os:  Unknown/Multiple
Architecture:  x86_64 (amd64)                  |  
-----------------------------------------------+----------------------------
Changes (by simonmar):

  * owner:  simonmar => igoo
  * type:  bug => merge

Comment:

 Fixed.  Three patches are required, first ghc:

 {{{
 Thu Feb 19 03:34:18 PST 2009  Simon Marlow <[email protected]>
   * Export blockUserSignals and unblockUserSignals (needed for #2870)
 }}}

 secondly for libraries/process:

 {{{
 Thu Feb 19 04:32:35 PST 2009  Simon Marlow <[email protected]>
   * Fix #2870: User signals are not blocked before 'fork' in
 runInteractiveProcess
 }}}

 and finally, for libraries/base, this isn't strictly necessary but I think
 it's prudent:

 {{{
 Thu Feb 19 03:42:17 PST 2009  Simon Marlow <[email protected]>
   * Set the IO manager pipe descriptors to FD_CLOEXEC
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2870#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to