projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d7ca63
)
[project @ 2001-01-03 15:39:32 by simonmar]
author
simonmar
<unknown>
Wed, 3 Jan 2001 15:39:32 +0000
(15:39 +0000)
committer
simonmar
<unknown>
Wed, 3 Jan 2001 15:39:32 +0000
(15:39 +0000)
Don't filter the contents of the package directories. It was wrong
when the hi suffix was anything other than ".hi".
ghc/compiler/main/Finder.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/Finder.lhs
b/ghc/compiler/main/Finder.lhs
index
03c2bbe
..
ed3cdf8
100644
(file)
--- a/
ghc/compiler/main/Finder.lhs
+++ b/
ghc/compiler/main/Finder.lhs
@@
-163,8
+163,7
@@
newPkgCache pkgs = do
pkg_name = _PK_ (name pkg)
let addDir fm dir = do
contents <- getDirectoryContents' dir
- let clean_contents = filter isUsefulFile contents
- return (addListToFM fm (zip clean_contents
+ return (addListToFM fm (zip contents
(repeat (pkg_name,dir))))
foldM addDir fm dirs