directory 1.3.0.1 → 1.3.0.2
raw patch · 3 files changed
+13/−5 lines, 3 filesdep ~timePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: time
API changes (from Hackage documentation)
Files
- System/Directory.hs +3/−2
- changelog.md +8/−1
- directory.cabal +2/−2
System/Directory.hs view
@@ -530,7 +530,8 @@ -- Unlike other removal functions, this function will also attempt to delete -- files marked as read-only or otherwise made unremovable due to permissions. -- As a result, if the removal is incomplete, the permissions or attributes on--- the remaining files may be altered.+-- the remaining files may be altered. If there are hard links in the+-- directory, then permissions on all related hard links may be altered. -- -- If an entry within the directory vanishes while @removePathForcibly@ is -- running, it is silently ignored.@@ -896,7 +897,7 @@ (`ioeAddLocation` "copyData") `modifyIOError` do allocaBytes bufferSize go where- bufferSize = 1024+ bufferSize = 131072 -- 128 KiB, as coreutils `cp` uses as of May 2014 (see ioblksize.h) go buffer = do count <- hGetBuf hFrom buffer bufferSize when (count > 0) $ do
changelog.md view
@@ -1,9 +1,16 @@ Changelog for the [`directory`][1] package ========================================== +## 1.3.0.2 (February 2017)++ * [optimization] Increase internal buffer size of `copyFile`+ ([#69](https://github.com/haskell/directory/pull/69))++ * Relax `time` version bounds to support 1.8.+ ## 1.3.0.1 (January 2017) - * Relax Win32 version bounds to support 2.5.+ * Relax `Win32` version bounds to support 2.5. ([#67](https://github.com/haskell/directory/pull/67)) ## 1.3.0.0 (December 2016)
directory.cabal view
@@ -1,5 +1,5 @@ name: directory-version: 1.3.0.1+version: 1.3.0.2 -- NOTE: Don't forget to update ./changelog.md license: BSD3 license-file: LICENSE@@ -55,7 +55,7 @@ build-depends: base >= 4.5 && < 4.11,- time >= 1.4 && < 1.8,+ time >= 1.4 && < 1.9, filepath >= 1.3 && < 1.5 if os(windows) build-depends: Win32 >= 2.2.2 && < 2.6