hunk ./Text/Regex/Posix/Wrap.hsc 105 - + hunk ./Text/Regex/Posix/Wrap.hsc 134 -import Foreign.C(CSize,CInt,CChar) +import Foreign.C(CChar) +#if __GLASGOW_HASKELL__ >= 703 +import Foreign.C(CSize(CSize),CInt(CInt)) +#else +import Foreign.C(CSize,CInt) +#endif hunk ./Text/Regex/Posix/Wrap.hsc 142 -import qualified System.IO.Error as IOERROR(try) +-- deprecated: import qualified System.IO.Error as IOERROR(try) +import qualified Control.Exception as IOERROR(try) hunk ./regex-posix.cabal 4 -Version: 0.95.1 +Version: 0.95.2 hunk ./Text/Regex/Posix/Wrap.hsc 143 -import qualified Control.Exception as IOERROR(try) +import qualified Control.Exception(try,IOException) + +try :: IO a -> IO (Either Control.Exception.IOException a) +try = Control.Exception.try hunk ./Text/Regex/Posix/Wrap.hsc 361 +{- NOT USED hunk ./Text/Regex/Posix/Wrap.hsc 364 +-} hunk ./Text/Regex/Posix/Wrap.hsc 474 - e_regex_ptr <- IOERROR.try $ mallocBytes (#const sizeof(regex_t)) -- ioError called if nullPtr + e_regex_ptr <- try $ mallocBytes (#const sizeof(regex_t)) -- ioError called if nullPtr