[project @ 2003-07-18 12:47:11 by simonmar]
authorsimonmar <unknown>
Fri, 18 Jul 2003 12:47:11 +0000 (12:47 +0000)
committersimonmar <unknown>
Fri, 18 Jul 2003 12:47:11 +0000 (12:47 +0000)
commit37ad132b596204ce913a4c72905d6d06e32c0970
tree1fe38f96606b09cf9c09c9b7f88058e08df206a9
parent6677029a5084f59b4cd35d76ce3f19b154f2ac87
[project @ 2003-07-18 12:47:11 by simonmar]
Fix a blatant bug in cleanTempFilesExcept, which was causing
legitimate source files to be deleted.  The previous fixes for this
bug missed the real cause of the problem.

I take full blame for this bug, which has been here since the dawn of
GHCi (at least I traced it back to 5.00).
ghc/compiler/main/SysTools.lhs