patch applied (cabal): Add Distribution.Compat.CopyFile module

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Jan 29 07:18:53 EST 2009


Wed Jan 28 10:11:15 PST 2009  Duncan Coutts <duncan at haskell.org>
  * Add Distribution.Compat.CopyFile module
  This is to work around the file permissions problems with the
  standard System.Directory.copyFile function. When installing
  files we do not want to copy permissions or attributes from the
  source files. On unix we want to use specific permissions and
  on windows we want to inherit default permissions. On unix:
  copyOrdinaryFile   sets the permissions to -rw-r--r--
  copyExecutableFile sets the permissions to -rwxr-xr-x

    M ./Cabal.cabal +1
    A ./Distribution/Compat/CopyFile.hs
    M ./Makefile -1 +1

View patch online:
http://darcs.haskell.org/cabal/_darcs/patches/20090128181115-adfee-862a3067fefbbf36ed349d900fa85d9b70a762df.gz



More information about the cabal-devel mailing list