[project @ 2003-06-05 12:09:52 by panne]
authorpanne <unknown>
Thu, 5 Jun 2003 12:09:52 +0000 (12:09 +0000)
committerpanne <unknown>
Thu, 5 Jun 2003 12:09:52 +0000 (12:09 +0000)
commit980c9615a3b27f98224999fb1b828b7145ca1d8e
tree6b0da73c484f46e2765b6113254c4a39dab9ecc1
parent2ce1b8d7517ca54f4b84a6636a1661a56871856f
[project @ 2003-06-05 12:09:52 by panne]
Attention: Tentative fix only! But at least this works much better
than before.

From the Linux man page for waitpid:

   [...]
   ERRORS
          ECHILD if  the  process specified in pid does not exist or
                 is not a child of the calling process.   (This  can
                 happen  for  one's  own  child  if  the  action for
                 SIGCHLD is set to SIG_IGN. See also the LINUX NOTES
                 section about threads.)
   [...]

Consequently, we don't ignore SIGCHLD anymore. Further changes:

   * SIGCONT is not ignored anymore, either. What was this for?

   * Don't use WUNTRACED in waitpid. Again, what was this for?
ghc/compiler/main/SysTools.lhs