This stops us generating paths like
c:\foo\/ghc460_0/ghc460_0.o
which windres doesn't understand.
newTempName dflags extn
= do d <- getTempDir dflags
x <- getProcessID
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
where
findTempName :: FilePath -> Integer -> IO FilePath
findTempName prefix x