system-fileio 0.3.16.1 → 0.3.16.2
raw patch · 3 files changed
+9/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- lib/Filesystem.hs +4/−2
- system-fileio.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.3.16.2++* withHANDLE (Win32) now works on directories [#8](https://github.com/fpco/haskell-filesystem/issues/8) [#10](https://github.com/fpco/haskell-filesystem/pull/10)+ ## 0.3.16.1 * Use different path encoding on Darwin in POSIX tests [#6](https://github.com/fpco/haskell-filesystem/pull/6)
lib/Filesystem.hs view
@@ -898,15 +898,17 @@ #ifdef CABAL_OS_WINDOWS +-- Only for accessing file or directory metadata.+-- See issue #8. withHANDLE :: FilePath -> (Win32.HANDLE -> IO a) -> IO a withHANDLE path = Exc.bracket open close where open = Win32.createFile (encodeString path)- Win32.gENERIC_READ+ 0 (Win32.fILE_SHARE_READ .|. Win32.fILE_SHARE_WRITE) Nothing Win32.oPEN_EXISTING- 0+ Win32.fILE_FLAG_BACKUP_SEMANTICS Nothing close = Win32.closeHandle
system-fileio.cabal view
@@ -1,5 +1,5 @@ name: system-fileio-version: 0.3.16.1+version: 0.3.16.2 license: MIT license-file: license.txt author: John Millikin <jmillikin@gmail.com>