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:
41676ec
)
Fix references to Filepath
author
Clemens Fruhwirth
<clemens@endorphin.org>
Thu, 17 Jan 2008 13:41:39 +0000
(13:41 +0000)
committer
Clemens Fruhwirth
<clemens@endorphin.org>
Thu, 17 Jan 2008 13:41:39 +0000
(13:41 +0000)
compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DriverPipeline.hs
b/compiler/main/DriverPipeline.hs
index
39feb18
..
1f81249
100644
(file)
--- a/
compiler/main/DriverPipeline.hs
+++ b/
compiler/main/DriverPipeline.hs
@@
-1097,8
+1097,8
@@
runPhase_MoveBinary dflags input_fn dep_packages
case (dynLibLoader dflags) of
Wrapped wrapmode ->
do
- let (o_base, o_ext) = splitFilename input_fn
- let wrapped_executable | o_ext == "exe" = (o_base ++ "_real") `joinFileExt` o_ext
+ let (o_base, o_ext) = splitExtension input_fn
+ let wrapped_executable | o_ext == "exe" = (o_base ++ "_real") <.> o_ext
| otherwise = input_fn ++ "_real"
behaviour <- wrapper_behaviour dflags wrapmode dep_packages