From: Ralph Corderoy Date: Sun, 16 Oct 2016 11:23:57 +0000 (+0100) Subject: Don't increment bytes_read if returning EOF. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/02e28520c4b36386258cc74a2534970c177ec6c2?hp=02e28520c4b36386258cc74a2534970c177ec6c2 Don't increment bytes_read if returning EOF. 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! ---