#2699: broken pipe errors are too noisy
---------------------------------+------------------------------------------
    Reporter:  int-e             |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12 branch     
   Component:  Runtime System    |      Version:  6.10.1          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by int-e):

 Replying to [comment:6 simonmar]:
 > Perhaps we should only exit silenty if the EPIPE was received for
 `stdin` or `stdout`?  One problem we had with the silent `SIGPIPE` was
 that it happened for closed sockets, which confused people regularly.

 Sounds reasonable to me. It's only stdout that matters - only writing to
 "broken" pipes results in EPIPE. Reading results in a normal EOF.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2699#comment:7>
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