[project @ 2004-12-02 15:57:02 by ross]
authorross <unknown>
Thu, 2 Dec 2004 15:57:04 +0000 (15:57 +0000)
committerross <unknown>
Thu, 2 Dec 2004 15:57:04 +0000 (15:57 +0000)
Hugs only: replace the CBITS pragma (files relative to cbits) with
CFILES (files relative to the root of the package).

Foreign/C/Error.hs
System/Posix/Internals.hs
System/Process/Internals.hs
Text/Regex/Posix.hsc

index 6d420d9..9ee6499 100644 (file)
@@ -124,7 +124,7 @@ import System.IO.Unsafe             ( unsafePerformIO )
 #endif
 
 #ifdef __HUGS__
-{-# CBITS PrelIOUtils.c #-}
+{-# CFILES cbits/PrelIOUtils.c #-}
 #endif
 
 
index 943b58f..4976e9d 100644 (file)
@@ -45,7 +45,7 @@ import System.IO
 #ifdef __HUGS__
 import Hugs.Prelude (IOException(..), IOErrorType(..))
 
-{-# CBITS PrelIOUtils.c dirUtils.c consUtils.c #-}
+{-# CFILES cbits/PrelIOUtils.c cbits/dirUtils.c cbits/consUtils.c #-}
 ioException = ioError
 #endif
 
index 0d01825..f53dd5b 100644 (file)
@@ -33,7 +33,7 @@ import Foreign.C.Types ( CInt )
 import Foreign.Ptr ( Ptr )
 
 #ifdef __HUGS__
-{-# CBITS execvpe.c  #-}
+{-# CFILES cbits/execvpe.c  #-}
 #endif
 
 -- ----------------------------------------------------------------------------
index 5ab5c9a..930b40a 100644 (file)
@@ -43,11 +43,11 @@ module Text.Regex.Posix (
 #include "regex.h"
 #else
 #include "regex/regex.h"
-{-# CBITS regex/reallocf.c #-}
-{-# CBITS regex/regcomp.c #-}
-{-# CBITS regex/regerror.c #-}
-{-# CBITS regex/regexec.c #-}
-{-# CBITS regex/regfree.c #-}
+{-# CFILES cbits/regex/reallocf.c #-}
+{-# CFILES cbits/regex/regcomp.c #-}
+{-# CFILES cbits/regex/regerror.c #-}
+{-# CFILES cbits/regex/regexec.c #-}
+{-# CFILES cbits/regex/regfree.c #-}
 #endif
 
 import Prelude