projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c79b721
)
[project @ 2005-11-05 00:23:36 by ross]
author
ross
<unknown>
Sat, 5 Nov 2005 00:23:36 +0000
(
00:23
+0000)
committer
ross
<unknown>
Sat, 5 Nov 2005 00:23:36 +0000
(
00:23
+0000)
fix for pre-6.0 ghc's
ghc/utils/ghc-pkg/Main.hs
patch
|
blob
|
history
diff --git
a/ghc/utils/ghc-pkg/Main.hs
b/ghc/utils/ghc-pkg/Main.hs
index
e576c9c
..
04170c4
100644
(file)
--- a/
ghc/utils/ghc-pkg/Main.hs
+++ b/
ghc/utils/ghc-pkg/Main.hs
@@
-47,7
+47,11
@@
import System ( getArgs, getProgName, getEnv,
exitWith, ExitCode(..)
)
import System.IO
+#if __GLASGOW_HASKELL__ >= 600
import System.IO.Error (try)
+#else
+import System.IO (try)
+#endif
import Data.List ( isPrefixOf, isSuffixOf, intersperse, groupBy, sortBy )
#ifdef mingw32_HOST_OS