[project @ 2000-01-17 12:30:07 by simonmar]
authorsimonmar <unknown>
Mon, 17 Jan 2000 12:30:07 +0000 (12:30 +0000)
committersimonmar <unknown>
Mon, 17 Jan 2000 12:30:07 +0000 (12:30 +0000)
commit455a284527f83873a3978b2022e1866eed55f32f
treefdbc591ebb52c71a69101fdc33c1902713de2bea
parentb5067df9a354f1da9e67d5c86c86ef871fdbd50f
[project @ 2000-01-17 12:30:07 by simonmar]
Seeking didn't take into account the size of the current buffer
(although it seems the intention was there: the proper offset was
calculated, just never used).

This fixes the io013 failure.
ghc/lib/std/cbits/seekFile.c