From 984c225de77786cdb289001082166e77cc3e8733 Mon Sep 17 00:00:00 2001 From: panne Date: Sat, 14 Jun 2003 16:54:24 +0000 Subject: [PATCH] [project @ 2003-06-14 16:54:24 by panne] Attempt to fix the nightly builds (untested): Use our forefathers' syntax to import rawSystem --- ghc/compiler/main/SysTools.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/main/SysTools.lhs b/ghc/compiler/main/SysTools.lhs index f9138cd..6cde1ad 100644 --- a/ghc/compiler/main/SysTools.lhs +++ b/ghc/compiler/main/SysTools.lhs @@ -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 -- 1.7.10.4