Kyle Evans b63d2d683d sh: fix read builtin on 32-bit systems
Specifically, any system with a 32-bit size_t; -residue is calculated as a
32-bit *then* promoted to the 64-bit off_t and the result is ultimately
wrong. This resulted in what would appear to be truncated output, as only
the first line would be read.

Correct it by just making residue an off_t to begin with, since this is what
lseek will take anyways.

Reported by:	antoine, dim
Triaged by:	cem
Tested by:	kevans
X-MFC-With:	r358152
2020-02-22 03:14:05 +00:00
..
2019-03-09 00:30:13 +00:00
2019-09-30 22:00:48 +00:00
2018-11-04 17:56:16 +00:00
2019-12-11 17:37:53 +00:00
2018-12-03 20:01:51 +00:00
2018-10-31 17:47:08 +00:00
2020-02-02 20:51:28 +00:00
2020-02-22 03:14:05 +00:00