[project @ 2003-06-14 16:54:24 by panne]
authorpanne <unknown>
Sat, 14 Jun 2003 16:54:24 +0000 (16:54 +0000)
committerpanne <unknown>
Sat, 14 Jun 2003 16:54:24 +0000 (16:54 +0000)
Attempt to fix the nightly builds (untested):
Use our forefathers' syntax to import rawSystem

ghc/compiler/main/SysTools.lhs

index f9138cd..6cde1ad 100644 (file)
@@ -745,7 +745,7 @@ rawSystem cmd args =
             0  -> return ExitSuccess
             n  -> return (ExitFailure n)
 
-foreign import ccall unsafe "rawSystem"
+foreign import ccall "rawSystem" unsafe
   c_rawSystem :: CString -> Ptr CString -> IO Int
 
 #else
@@ -770,7 +770,7 @@ translate str = '"' : foldr escape "\"" str
        escape '\\' str = '\\' : '\\' : str
        escape c    str = c : str
 
-foreign import ccall unsafe "rawSystem"
+foreign import ccall "rawSystem" unsafe
   c_rawSystem :: CString -> IO Int
 
 #endif