Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unix
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
unix
Commits
113e5689
Commit
113e5689
authored
2 years ago
by
Mann mit Hut
Committed by
Julian Ospald
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Removed superfluous d_name, d_type
parent
befa2329
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
System/Posix/Directory/Common.hsc
+1
-5
1 addition, 5 deletions
System/Posix/Directory/Common.hsc
with
1 addition
and
5 deletions
System/Posix/Directory/Common.hsc
+
1
−
5
View file @
113e5689
...
...
@@ -175,6 +175,7 @@ foreign import ccall unsafe "HsUnix.h close"
foreign import capi unsafe "dirent.h fdopendir"
c_fdopendir :: CInt -> IO (Ptr CDir)
-- | @readDirStreamWith f dp@ calls @readdir@ to obtain the next directory entry
-- (@struct dirent@) for the open directory stream @dp@. If an entry is read,
-- it passes the pointer to that structure to the provided function @f@ for
...
...
@@ -226,11 +227,6 @@ foreign import ccall unsafe "__hscore_readdir"
foreign import ccall unsafe "__hscore_free_dirent"
c_freeDirEnt :: Ptr CDirent -> IO ()
foreign import ccall unsafe "__hscore_d_name"
d_name :: Ptr CDirent -> IO CString
foreign import ccall unsafe "__hscore_d_type"
d_type :: Ptr CDirent -> IO CChar
-- | @rewindDirStream dp@ calls @rewinddir@ to reposition
-- the directory stream @dp@ at the beginning of the directory.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment