Skip to content

Commit 4f4ed8c

Browse files
Hyalunarvdukhovni
authored andcommitted
Undo platform-specific hint and man-page reference
Co-authored-by: Viktor Dukhovni <viktor1ghub@dukhovni.org>
1 parent 68ff543 commit 4f4ed8c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

System/Posix/Files/Common.hsc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,8 @@ isSymbolicLink stat =
507507
isSocket stat =
508508
(fileMode stat `intersectFileModes` fileTypeModes) == socketMode
509509

510-
-- | @getFdStatus fd@ acts as 'getFileStatus' but uses a file descriptor @fd@.
511-
--
512-
-- This will not dereference symbolic links by itself, but 'System.Posix.IO.openFd' may do so, depending on the flags passed.
513-
-- To learn more about this, see @man 7 symlink@ section "Obtaining a file descriptor that refers to a symbolic link" or the documentation of 'System.Posix.IO.openFd'.
510+
-- | @getFdStatus fd@ is similar to 'getFileStatus', but returns data about
511+
-- the file associated with the descriptor @fd@.
514512
--
515513
-- Note: calls @fstat@.
516514
getFdStatus :: Fd -> IO FileStatus

0 commit comments

Comments
 (0)