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:
72ad05c
)
[project @ 2003-05-25 20:54:18 by stolz]
author
stolz
<unknown>
Sun, 25 May 2003 20:54:18 +0000
(20:54 +0000)
committer
stolz
<unknown>
Sun, 25 May 2003 20:54:18 +0000
(20:54 +0000)
Fix quoted source filenames on *nix
Noticed by: Calle Lejdfors
(please merge)
ghc/compiler/main/SysTools.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/SysTools.lhs
b/ghc/compiler/main/SysTools.lhs
index
5d2c180
..
d99ce5d
100644
(file)
--- a/
ghc/compiler/main/SysTools.lhs
+++ b/
ghc/compiler/main/SysTools.lhs
@@
-860,11
+860,7
@@
getProcessID = Posix.getProcessID
#endif
quote :: String -> String
#endif
quote :: String -> String
-#if defined(mingw32_HOST_OS)
quote "" = ""
quote s = "\"" ++ s ++ "\""
quote "" = ""
quote s = "\"" ++ s ++ "\""
-#else
-quote s = s
-#endif
\end{code}
\end{code}