cvs commit: fptools/libraries/base/GHC IO.hs
Simon Marlow
simonmar@glass.cse.ogi.edu
Tue, 18 Jun 2002 06:01:44 -0700
simonmar 2002/06/18 06:01:44 PDT
Modified files:
libraries/base/GHC IO.hs
Log:
Fix bug in the implementation of hGetLine: on finding the EOF when we
have a partial line in our hands, we weren't resetting the state of
the buffer to empty, so the same partial line would be returned for
each subsequent call to hGetLine.
Revision Changes Path
1.9 +12 -7 fptools/libraries/base/GHC/IO.hs