From eb86e5a2aa0792c7826eef681048ce3b21633a18 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 25 Mar 2010 13:32:37 +0000 Subject: [PATCH] Use rather than ++ "/" This stops us generating paths like c:\foo\/ghc460_0/ghc460_0.o which windres doesn't understand. --- compiler/main/SysTools.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs index 5a0c45b..ac1941d 100644 --- a/compiler/main/SysTools.lhs +++ b/compiler/main/SysTools.lhs @@ -480,7 +480,7 @@ newTempName :: DynFlags -> Suffix -> IO FilePath newTempName dflags extn = do d <- getTempDir dflags x <- getProcessID - findTempName (d ++ "/ghc" ++ show x ++ "_") 0 + findTempName (d "ghc" ++ show x ++ "_") 0 where findTempName :: FilePath -> Integer -> IO FilePath findTempName prefix x -- 1.7.10.4