summaryrefslogtreecommitdiff
path: root/libraries/base
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base')
-rw-r--r--libraries/base/GHC/IO/Handle/FD.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/base/GHC/IO/Handle/FD.hs b/libraries/base/GHC/IO/Handle/FD.hs
index 883bc5fe59..64179768c9 100644
--- a/libraries/base/GHC/IO/Handle/FD.hs
+++ b/libraries/base/GHC/IO/Handle/FD.hs
@@ -131,7 +131,9 @@ addFilePathToIOError fun fp ioe
-- * 'System.IO.Error.isAlreadyInUseError' if the file is already open and
-- cannot be reopened;
--
--- * 'System.IO.Error.isDoesNotExistError' if the file does not exist; or
+-- * 'System.IO.Error.isDoesNotExistError' if the file does not exist or
+-- (on POSIX systems) is a FIFO without a reader and 'WriteMode' was
+-- requested; or
--
-- * 'System.IO.Error.isPermissionError' if the user does not have permission
-- to open the file.