directory 1.3.1.3 → 1.3.1.4
raw patch · 3 files changed
+13/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- System/Directory.hs +8/−0
- changelog.md +4/−0
- directory.cabal +1/−1
System/Directory.hs view
@@ -731,7 +731,11 @@ (`ioeSetFileName` opath) `modifyIOError` do opath' <- toExtendedLengthPath <$> prependCurrentDirectory opath npath' <- toExtendedLengthPath <$> prependCurrentDirectory npath+# if MIN_VERSION_Win32(2,6,0)+ Win32.moveFileEx opath' (Just npath') Win32.mOVEFILE_REPLACE_EXISTING+# else Win32.moveFileEx opath' npath' Win32.mOVEFILE_REPLACE_EXISTING+# endif #else Posix.rename opath npath #endif@@ -1106,7 +1110,11 @@ findExecutable :: String -> IO (Maybe FilePath) findExecutable binary = do #if defined(mingw32_HOST_OS)+# if MIN_VERSION_Win32(2,6,0)+ Win32.searchPath Nothing binary (Just exeExtension)+# else Win32.searchPath Nothing binary exeExtension+# endif #else path <- getPath findFileWith isExecutable path (binary <.> exeExtension)
changelog.md view
@@ -1,6 +1,10 @@ Changelog for the [`directory`][1] package ========================================== +## 1.3.1.4 (September 2017)++ * Fix `Win32` version 2.6 compatibility.+ ## 1.3.1.3 (September 2017) * Relax `Win32` version bounds to support 2.6.
directory.cabal view
@@ -1,5 +1,5 @@ name: directory-version: 1.3.1.3+version: 1.3.1.4 -- NOTE: Don't forget to update ./changelog.md license: BSD3 license-file: LICENSE