Forked from
Glasgow Haskell Compiler / Packages / unix
265 commits behind, 1 commit ahead of the upstream repository.
emertens
authored
This patch changes `readDirStream` to signal end of directory with a Nothing value. In addition it changes the wrapped readdir function to only return -1 in the case of an actual error. This change allows the errno handling logic to take advantage of helpers from Foreign.C.Error, simplifying the logic. Fixes #81
Name | Last commit | Last update |
---|---|---|
System | ||
cbits | ||
include | ||
tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
Setup.hs | ||
aclocal.m4 | ||
changelog.md | ||
config.guess | ||
config.sub | ||
configure.ac | ||
install-sh | ||
prologue.txt | ||
unix.buildinfo.in | ||
unix.cabal |