[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)
commit23e923d5dd8fc2463d13d9f1201dab05e10f1b7f
treefe2f3dd4c448a6af3b394b1a4d00db305f662112
parent85e48ad988a91ea4e674a23e9e9880027767d31c
[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.
libraries/base/GHC/IO.hs