#4248: Poor error message when openFile fails to open named pipe
---------------------------------+------------------------------------------
    Reporter:  Khudyakov         |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  7.0.2       
   Component:  libraries/base    |      Version:  6.12.3      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 Yes, I read the man page too.  What I was wondering was whether GHC's
 behaviour of always opening files in non-blocking mode might not be what
 you want when opening a FIFO, and if that's the case, should we

  * provide a way to open the file in blocking mode instead, or
  * try to do it automatically

 In any case, we should at least document the behaviour (but describing
 this obscure corner-case in such a prominent place as the documentation
 for `openFile` might look a bit strange, I'm not sure what to do about
 that.)

 I don't have any strong feelings about this.  Somebody tell me what to do
 :-)

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