[project @ 2003-06-13 06:22:23 by simonpj]
authorsimonpj <unknown>
Fri, 13 Jun 2003 06:22:23 +0000 (06:22 +0000)
committersimonpj <unknown>
Fri, 13 Jun 2003 06:22:23 +0000 (06:22 +0000)
Add the commit message as a comment

ghc/compiler/main/SysTools.lhs

index 505610c..f9138cd 100644 (file)
@@ -755,6 +755,9 @@ foreign import ccall unsafe "rawSystem"
 -- itself.
 rawSystem cmd args = do
   let cmdline = {-translate-} cmd ++ concat (map ((' ':) . translate) args)
+       -- Urk, don't quote/escape the command name on Windows, because the
+       -- compiler is exceedingly naughty and sometimes uses 'perl "..."' 
+       -- as the command name.
   withCString cmdline $ \pcmdline -> do
     status <- throwErrnoIfMinus1 "rawSystem" (c_rawSystem pcmdline)
     case status of