[GHC] #15715: problematic openFile with named pipes

GHC ghc-devs at haskell.org
Sun Oct 7 23:25:29 UTC 2018


#15715: problematic openFile with named pipes
-------------------------------------+-------------------------------------
        Reporter:  adp               |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.4.3
      Resolution:  invalid           |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This is due to the  FIFO semantics. To quote `fifo(7)`:

 > A process can open a FIFO in nonblocking mode.  In this case, opening
 for read-only succeeds even if no one has opened on the write side yet and
 opening for write-only fails with `ENXIO`  (no  such  device  or  address)

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15715#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list