Building from Git repository
When building this package directly from the Git repository, one must run
autoreconf -fi to generate the
configure script needed by
configure. This requires Autoconf to be installed.
autoreconf -fi cabal install
There is no need to run the
configure script manually however, as
configure does that automatically.
Changelog for the
188.8.131.52 (June 2018)
unixversion bounds to support 2.8.
Win32version bounds to support 2.8.
SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATEwhen creating symbolic links on Windows, if possible. (#83)
184.108.40.206 (April 2018)
baseversion bounds to support 4.12.
220.127.116.11 (March 2018)
Win32version bounds to support 2.7.
18.104.22.168 (January 2018)
timeversion bounds to support 1.9.
22.214.171.124 (October 2017)
Rename the internal header
windows.hto avoid GHC#14312. (#77)
126.96.36.199 (September 2017)
Win32version 2.6 compatibility. (#75)
188.8.131.52 (September 2017)
Win32version bounds to support 2.6.
184.108.40.206 (September 2017)
baseversion bounds to support 4.11. (#74)
220.127.116.11 (March 2017)
Fix a bug where
createDirectoryLinkfailed to handle
..in absolute paths.
Improve support (partially) for paths longer than 260 characters on Windows. To achieve this, many functions will now automatically prepend
\\?\before calling the Windows API. As a side effect, the
\\?\prefix may show up in the error messages of the affected functions.
makeAbsolutecan now handle drive-relative paths on Windows such as
18.104.22.168 (March 2017)
findFile(and similar functions): when an absolute path is given, the list of search directories is now completely ignored. Previously, if the list was empty,
findFilewould always fail. (#72)
For symbolic links on Windows, the following functions had previously interpreted paths as referring to the links themselves rather than their targets. This was inconsistent with other platforms and has been fixed.
Fix incorrect location info in errors from
- Add functions for symbolic link manipulation:
canonicalizePathcan now resolve broken symbolic links too. (#64)
22.214.171.124 (February 2017)
[optimization] Increase internal buffer size of
timeversion bounds to support 1.8.
126.96.36.199 (January 2017)
Win32version bounds to support 2.5. (#67)
188.8.131.52 (December 2016)
[breaking] Drop trailing slashes in
pathIsSymbolicLink. The old name will remain available but may be removed in the next major release. (#52)
canonicalizePathto dereference symbolic links even if it points to a file and is not the last path segment
canonicalizePathnow canonicalizes the letter case too
canonicalizePathnow also dereferences symbolic links
When exceptions are thrown, the error location will now contain additional information about the internal function(s) used.
184.108.40.206 (November 2016)
removePathForciblyif files or directories go missing. In addition, keep going even if an exception occurs. (#60)
220.127.116.11 (August 2016)
Remove deprecated C bits. This means
HsDirectory.hand its functions are no longer available. (#50)
18.104.22.168 (May 2016)
Add missing import of
(<*>)on Windows for
baseearlier than 22.214.171.124 (#53)
126.96.36.199 (April 2016)
Bundled with GHC 8.0.1
Fix typo in file time functions when
utimensatis not available and version of
unixpackage is lower than 188.8.131.52
184.108.40.206 (April 2016)
Fix mistake in file time functions when
utimensatis not available (#47)
220.127.116.11 (April 2016)
copyFileWithMetadata, which copies additional metadata (#40)
Improve error message of
removeDirectoryRecursivewhen used on a directory symbolic link on Windows.
Drop support for Hugs.
18.104.22.168 (February 2016)
Improve error message of
getCurrentDirectorywhen the current working directory no longer exists (#39)
Fix the behavior of trailing path separators in
canonicalizePathas well as
makeAbsolutewhen applied to the current directory; they should now match the behavior of
canonicalizePathprior to 22.214.171.124 (when the bug was introduced) (#42)
Set the location in IO errors from
126.96.36.199 (December 2015)
listDirectory, which is similar to
Remove support for
configure; use the
CC=flag instead (ghc:D1608)
188.8.131.52 (September 2015)
Work around lack of
#const_strwhen cross-compiling (haskell-cafe)
184.108.40.206 (August 2015)
Restore support for Safe Haskell with base < 4.8 (#30)
220.127.116.11 (July 2015)
Add support for XDG Base Directory Specification (#6)
Set the filename in IO errors from the file time functions
canonicalizePathso that it always returns a reasonable result even if the path is inaccessible and will not throw exceptions unless the current directory cannot be obtained (#23)
Corrected the trailing slash behavior of
makeAbsolute "" == makeAbsolute "."
Deprecate use of
18.104.22.168 (Apr 2015)
Fix dependency problem on NixOS when building with tests (#24)
22.214.171.124 (Mar 2015)
Bundled with GHC 7.10.1
getModificationTimesupport sub-second resolution on Windows
Fix silent failure in
throwby better defined
Avoid stack overflow in
removeDirectoryRecursiveno longer follows symlinks under any circumstances (#15)
Allow trailing path separators in
getPermissionson Windows (#9)
renameFilenow always throws the correct error type (
InappropriateType) when the destination is a directory, as long as the filesystem is not being modified concurrently (#8)
makeAbsolute, which should be preferred over
canonicalizePathunless one requires symbolic links to be resolved
126.96.36.199 (Mar 2014)
Bundled with GHC 7.8.1
Add support for sub-second precision in
getModificationTimewhen linked against
createDirectoryIfMissing _ "."in
Remove support for NHC98 compiler
Update package to
cabal-version >= 1.10format
Enhance Haddock documentation for
findExecutableto check that file permissions indicate executable
New convenience functions