Fixed permission setting in copyFile 2007-09-13 ghc-6_8_branched_2007-09-03
authorsven.panne@aedion.de <unknown>
Sun, 2 Sep 2007 12:55:21 +0000 (12:55 +0000)
committersven.panne@aedion.de <unknown>
Sun, 2 Sep 2007 12:55:21 +0000 (12:55 +0000)
commitfe5420ba0484d7a0937ec3a1153bd9b41967a803
tree26dc050b6cedf8359da315d06037c724561fc774
parentce0ccf7e2f726cfcf3fb4648408b142265c41460
Fixed permission setting in copyFile
Copy the permissions to the *temporary* file before moving it, no to the
probably non-existing real destination file. Before this fix, "try" silently
wiped this bug under the carpet, leading to silently broken permissions.
System/Directory.hs