projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2004-08-13 13:04:50 by simonmar]
[ghc-hetmet.git]
/
ghc
/
compiler
/
main
/
DriverUtil.hs
diff --git
a/ghc/compiler/main/DriverUtil.hs
b/ghc/compiler/main/DriverUtil.hs
index
69c276d
..
b8796c1
100644
(file)
--- a/
ghc/compiler/main/DriverUtil.hs
+++ b/
ghc/compiler/main/DriverUtil.hs
@@
-1,5
+1,5
@@
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
--- $Id: DriverUtil.hs,v 1.41 2003/11/17 14:41:03 simonmar Exp $
+-- $Id: DriverUtil.hs,v 1.43 2004/08/13 13:07:02 simonmar Exp $
--
-- Utils for the driver
--
--
-- Utils for the driver
--
@@
-19,7
+19,7
@@
module DriverUtil (
remove_spaces, escapeSpaces,
) where
remove_spaces, escapeSpaces,
) where
-#include "../includes/config.h"
+#include "../includes/ghcconfig.h"
#include "HsVersions.h"
import Util
#include "HsVersions.h"
import Util
@@
-176,7
+176,7
@@
splitFilename3 str
remove_suffix :: Char -> String -> Suffix
remove_suffix c s
remove_suffix :: Char -> String -> Suffix
remove_suffix c s
- | null pre = reverse suf
+ | null pre = s
| otherwise = reverse pre
where (suf,pre) = break (==c) (reverse s)
| otherwise = reverse pre
where (suf,pre) = break (==c) (reverse s)