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:
90a6918
)
[project @ 2000-03-20 15:32:10 by panne]
author
panne
<unknown>
Mon, 20 Mar 2000 15:32:10 +0000
(15:32 +0000)
committer
panne
<unknown>
Mon, 20 Mar 2000 15:32:10 +0000
(15:32 +0000)
Bootstrapping fix, this time for slurpFile
ghc/compiler/utils/StringBuffer.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/utils/StringBuffer.lhs
b/ghc/compiler/utils/StringBuffer.lhs
index
b6b728f
..
1f6e615
100644
(file)
--- a/
ghc/compiler/utils/StringBuffer.lhs
+++ b/
ghc/compiler/utils/StringBuffer.lhs
@@
-75,7
+75,11
@@
import Char ( chr )
#include "../lib/std/cbits/stgerror.h"
#if __GLASGOW_HASKELL__ >= 303
-import IO ( openFile, slurpFile )
+import IO ( openFile
+#if __GLASGOW_HASKELL__ < 407
+ , slurpFile -- comes from PrelHandle or IOExts now
+#endif
+ )
import PrelIOBase
import PrelHandle
import Addr