Skip to content

Commit cd5f007

Browse files
committed
move unsafeOpenDirStreamFd to System.Posix.Directory.Fd
1 parent 70ed0ba commit cd5f007

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

System/Posix/Directory.hsc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ module System.Posix.Directory (
3434
-- * Reading directories
3535
DirStream,
3636
openDirStream,
37-
#ifdef HAVE_FDOPENDIR
38-
unsafeOpenDirStreamFd,
39-
#endif
4037
readDirStream,
4138
rewindDirStream,
4239
closeDirStream,

System/Posix/Directory/ByteString.hsc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ module System.Posix.Directory.ByteString (
3434
-- * Reading directories
3535
DirStream,
3636
openDirStream,
37-
#ifdef HAVE_FDOPENDIR
38-
unsafeOpenDirStreamFd,
39-
#endif
4037
readDirStream,
4138
rewindDirStream,
4239
closeDirStream,

unix.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ library
9090
System.Posix.ByteString.FilePath
9191

9292
System.Posix.Directory
93+
System.Posix.Directory.Fd
9394
System.Posix.Directory.ByteString
9495

9596
System.Posix.DynamicLinker.Module

0 commit comments

Comments
 (0)