> Does this also work correctly for the case of seek64:ing to EOF?
Looks like it does.
I did the following tests:
seek64 to filesize
read 1024, got 0
seek64 to filesize-100
read 1024, got 100
seek64 to filesize
read 1024, got 0
Also,
seek64 to filesize-100
read 1024, got 100
seek64 to filesize-100
read 1024, got 100
Gives the exact same returned buffer twice.
Finally, seeking past the size also seems to yield the correct behavior.
> If yes, then please re-send a patch created by git format-patch after
> you have created a clean commit locally. If you are not familiar
> enough with git then please say so, and we can make the commit for
> you. In that case, please mention what name and email address you
> would like the patch to have as author.
Attached!
-Gellule
Received on 2012-01-26