base: Mention openFile throwing does-not-exist-errors on FIFOs
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 22 Nov 2018 16:33:39 +0000 (11:33 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 22 Nov 2018 22:02:45 +0000 (17:02 -0500)
commit64a5044543bdcd7983787b215a44bdfb70c9c40b
tree661f4ba32292d871622d3e25404eecced5565b6e
parentc2c6f49845698275c1e83f0c93b9c4b558c7ba08
base: Mention openFile throwing does-not-exist-errors on FIFOs

As discussed in #15715, the POSIX specification specifies that
attempting to open a FIFO in write-only mode when the FIFO has no
readers will fail with -ENOENT.

[skip ci]

Test Plan: Read it

Reviewers: hvr

Subscribers: rwbarton, carter

GHC Trac Issues: #15715

Differential Revision: https://phabricator.haskell.org/D5295

(cherry picked from commit 4ba3fa31ddfa12b428bd67216a2d4118dc9e8311)
libraries/base/GHC/IO/Handle/FD.hs