diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-09-06 19:34:40 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-09-07 07:52:41 +1000 |
commit | 2951cd01a725c52afc6bf6a83c068cfb40504fdf (patch) | |
tree | c8dc3a346602e7f10272eabb22befa90e278aa8d /changelog.md | |
parent | cd6eae1dc5706efafcb73e9f16ac22cd0cc9fe1d (diff) |
Don't use readdir_r if deprecated
GNU glibc 2.23 and later deprecate `readdir_r` in favour of plain old
`readdir` which in some upcoming POSIX standard is going to required to be
re-entrant.
Eventually we want to drop `readder_r` all together, but want to be
compatible with older unixen which may not have a re-entrant `readdir`.
Solution is to make systems with *known* re-entrant `readir` use that and
use `readdir_r` whereever we have it and don't *know* that `readdir` is
re-entrant.
Closes: https://github.com/haskell/unix/issues/70
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index eb429cb..4bbeeb3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog for [`unix` package](http://hackage.haskell.org/package/unix) +## 2.7.2.1 *Sep 2016* + + * Don't use `readdir_r` if its deprecated. + ## 2.7.2.0 *Apr 2016* * Bundled with GHC 8.0.1 |