[GHC] #7229: Detecting if a process was killed by a signal is impossible
GHC
ghc-devs at haskell.org
Mon Nov 11 23:18:28 UTC 2013
#7229: Detecting if a process was killed by a signal is impossible
--------------------------------------+------------------------------------
Reporter: benmachine | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
Component: libraries/process | Version:
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
--------------------------------------+------------------------------------
Comment (by andersk):
Ugly but acceptable; I’m happy to come to a resolution on this issue,
provided
* The documentation clearly calls out that our encoding is byte-swapped
from the standard one for historical reasons.
* We might as well include the core dump bit as bit 15 for completeness.
It’s useful for printing messages like `Segmentation fault (core dumped)`,
and I don’t see a downside as long as we do it now. glibc, Perl, and
Python all provide it as bit 7.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7229#comment:30>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list