Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
61d1a81b
Commit
61d1a81b
authored
Mar 07, 2011
by
Simon Marlow
Browse files
tweak to cleanTempFilesExcept
parent
521b7925
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/SysTools.lhs
View file @
61d1a81b
...
...
@@ -504,8 +504,8 @@ cleanTempFilesExcept dflags dont_delete
$ do let ref = filesToClean dflags
files <- readIORef ref
let (to_keep, to_delete) = partition (`elem` dont_delete) files
removeTmpFiles dflags to_delete
writeIORef ref to_keep
removeTmpFiles dflags to_delete
-- find a temporary name that doesn't already exist.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment