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:
37fce3d
)
[project @ 2001-06-27 15:03:35 by sewardj]
author
sewardj
<unknown>
Wed, 27 Jun 2001 15:03:35 +0000
(15:03 +0000)
committer
sewardj
<unknown>
Wed, 27 Jun 2001 15:03:35 +0000
(15:03 +0000)
wibble to do with findOnPackagePath
ghc/compiler/main/Finder.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/Finder.lhs
b/ghc/compiler/main/Finder.lhs
index
7dc2985
..
2322db9
100644
(file)
--- a/
ghc/compiler/main/Finder.lhs
+++ b/
ghc/compiler/main/Finder.lhs
@@
-176,7
+176,7
@@
findOnPackagePath pkgs file = loop pkgs
found <- findOnPath (import_dirs p) file
case found of
Nothing -> loop ps
- Just path -> return (Just (mkFastString (name p), path ++ '/':file))
+ Just path -> return (Just (mkFastString (name p), path))
findOnPath :: [String] -> String -> IO (Maybe FilePath)
findOnPath path s = loop path