patch applied (cabal): Add writeFileAtomic to and use it everywhere in place of ordinary writeFile
Fri Feb 22 12:57:35 PST 2008 Duncan Coutts <duncan@haskell.org> * Add writeFileAtomic to and use it everywhere in place of ordinary writeFile It uses the renaming trick to make the write atomic. Not yet tested on Windows. M ./Distribution/PackageDescription/Parse.hs -3 +4 M ./Distribution/Simple/Build.hs -2 +3 M ./Distribution/Simple/Configure.hs -2 +2 M ./Distribution/Simple/Hugs.hs -4 +5 M ./Distribution/Simple/JHC.hs -3 +4 M ./Distribution/Simple/PreProcess.hs -2 +2 M ./Distribution/Simple/Register.hs -7 +8 M ./Distribution/Simple/SetupWrapper.hs -1 +1 M ./Distribution/Simple/SrcDist.hs -6 +6 M ./Distribution/Simple/Utils.hs -13 +71 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080222205735-adfee-18b2fd4bb...
participants (1)
-
Duncan Coutts