system-fileio 0.3.16.3 → 0.3.16.4
raw patch · 3 files changed
+11/−1 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Filesystem: data Handle :: *
+ Filesystem: data Handle
- Filesystem: data IOMode :: *
+ Filesystem: data IOMode
Files
- ChangeLog.md +6/−0
- lib/Filesystem.hs +4/−0
- system-fileio.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,9 @@+# Changelog for system-fileio++## 0.3.16.4++* Fix for Win32 2.6 and above [#21](https://github.com/fpco/haskell-filesystem/pull/21)+ ## 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)
lib/Filesystem.hs view
@@ -170,7 +170,11 @@ #ifdef CABAL_OS_WINDOWS let old' = encodeString old in let new' = encodeString new in+#if MIN_VERSION_Win32(2,6,0)+ Win32.moveFileEx old' (Just new') Win32.mOVEFILE_REPLACE_EXISTING+#else Win32.moveFileEx old' new' Win32.mOVEFILE_REPLACE_EXISTING+#endif #else withFilePath old $ \old' -> withFilePath new $ \new' ->
system-fileio.cabal view
@@ -1,5 +1,5 @@ name: system-fileio-version: 0.3.16.3+version: 0.3.16.4 license: MIT license-file: license.txt author: John Millikin <jmillikin@gmail.com>