projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b996479
)
[project @ 2003-06-24 09:32:34 by stolz]
author
stolz
<unknown>
Tue, 24 Jun 2003 09:32:34 +0000
(09:32 +0000)
committer
stolz
<unknown>
Tue, 24 Jun 2003 09:32:34 +0000
(09:32 +0000)
Fix another occurence of openFileEx in stage2
ghc/compiler/utils/Binary.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/utils/Binary.hs
b/ghc/compiler/utils/Binary.hs
index
16a5291
..
7d5990b
100644
(file)
--- a/
ghc/compiler/utils/Binary.hs
+++ b/
ghc/compiler/utils/Binary.hs
@@
-251,7
+251,7
@@
writeBinMem (BinMem _ ix_r sz_r arr_r) fn = do
readBinMem :: FilePath -> IO BinHandle
readBinMem filename = do
- h <- openFileEx filename (BinaryMode ReadMode)
+ h <- openBinaryFile filename ReadMode
filesize' <- hFileSize h
let filesize = fromIntegral filesize'
arr <- newArray_ (0,filesize-1)