Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
14a15152
Commit
14a15152
authored
Dec 08, 1999
by
simonmar
Browse files
[project @ 1999-12-08 14:04:32 by simonmar]
oops, forgot to initialize bufStart in openStdFile.
parent
57df281f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/cbits/openFile.c
View file @
14a15152
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
*
* $Id: openFile.c,v 1.1
2
1999/1
1/26 16:25:56
simonmar Exp $
* $Id: openFile.c,v 1.1
3
1999/1
2/08 14:04:32
simonmar Exp $
*
* openFile Runtime Support
*/
...
...
@@ -46,6 +46,7 @@ StgInt rd;
fo
->
buf
=
NULL
;
fo
->
bufWPtr
=
0
;
fo
->
bufRPtr
=
0
;
fo
->
bufStart
=
0
;
fo
->
flags
=
FILEOBJ_STD
|
(
rd
?
FILEOBJ_READ
:
FILEOBJ_WRITE
);
fo
->
connectedTo
=
NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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