]> diplodocus.org Git - nmh/commitdiff
Don't increment bytes_read if returning EOF.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 11:23:57 +0000 (12:23 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 11:23:57 +0000 (12:23 +0100)
Don't know if this was actually causing a problem, or if it was wrong,
but bytes_read was always being incremented even if the later test
showed readpos was to be left unincremented and EOF returned instead.
All tests still pass so any breakage must be subtle!


No differences found