Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
9d5c1a04
Commit
9d5c1a04
authored
Jun 24, 2003
by
stolz
Browse files
[project @ 2003-06-24 09:32:34 by stolz]
Fix another occurence of openFileEx in stage2
parent
b996479a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/utils/Binary.hs
View file @
9d5c1a04
...
...
@@ -251,7 +251,7 @@ writeBinMem (BinMem _ ix_r sz_r arr_r) fn = do
readBinMem
::
FilePath
->
IO
BinHandle
readBinMem
filename
=
do
h
<-
openFile
Ex
filename
(
BinaryMode
ReadMode
)
h
<-
open
Binary
File
filename
ReadMode
filesize'
<-
hFileSize
h
let
filesize
=
fromIntegral
filesize'
arr
<-
newArray_
(
0
,
filesize
-
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment