patch applied (packages/Cabal): Add util rewriteFile :: FilePath -> String -> IO ()

Ian Lynagh igloo at earth.li
Fri Aug 15 12:14:33 EDT 2008


Wed Aug 13 12:20:17 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * Add util rewriteFile :: FilePath -> String -> IO ()
  Write a file but only if it would have new content.
  If we would be writing the same as the existing content
  then leave the file as is so that we do not update the
  file's modification time.

    M ./Distribution/Simple/Utils.hs -1 +16

View patch online:
http://darcs.haskell.org/packages/Cabal/_darcs/patches/20080813192017-adfee-23ee7f319b6167d311d2d449636d0544960aa83c.gz


More information about the Cvs-libraries mailing list