#1619: The RTS chokes on SIGPIPE (happens with runInteractiveCommand)
-------------------------------+--------------------------------------------
Reporter: int-e | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 6.7
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Linux | Testcase:
Architecture: x86 |
-------------------------------+--------------------------------------------
Comment (by simonmar):
We intentionally don't do anything about `SIGPIPE`, in order to follow the
POSIX semantics where `SIGPIPE` terminates the program by default. It's
definitely true that this behaviour can be surprising, and I have a lot
of sympathy with that. However, to ignore `SIGPIPE` by default would be a
deviation from POSIX, and might therefore surprise some users - if we
"fixed" this, I can imagine someone complaining that we were taking
liberties with the spec.
My inclination is to leave things as they are, but I'm prepared to be
persuaded otherwise.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1619>
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