[project @ 2002-06-18 13:01:43 by simonmar]
authorsimonmar <unknown>
Tue, 18 Jun 2002 13:01:43 +0000 (13:01 +0000)
committersimonmar <unknown>
Tue, 18 Jun 2002 13:01:43 +0000 (13:01 +0000)
commit5447e2abdd342f9892b2a8e61dbc85fc9f713bfe
treece6485bf9a1608a86b82a97919e6fc9651a16a46
parent45afba05c6d0fca1e1b2d101c097a7738bb73b25
[project @ 2002-06-18 13:01:43 by simonmar]
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.
GHC/IO.hs