projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d567f2c
)
[project @ 2005-01-06 18:14:40 by ross]
author
ross
<unknown>
Thu, 6 Jan 2005 18:14:40 +0000
(18:14 +0000)
committer
ross
<unknown>
Thu, 6 Jan 2005 18:14:40 +0000
(18:14 +0000)
extensions no longer include dots
System/Directory.hs
patch
|
blob
|
history
diff --git
a/System/Directory.hs
b/System/Directory.hs
index
0989986
..
6c35122
100644
(file)
--- a/
System/Directory.hs
+++ b/
System/Directory.hs
@@
-524,7
+524,7
@@
findExecutable binary = do
path <- getEnv "PATH"
search (parseSearchPath path)
where
- fileName = binary `joinFileExt` drop 1 exeExtension
+ fileName = binary `joinFileExt` exeExtension
search :: [FilePath] -> IO (Maybe FilePath)
search [] = return Nothing