Pawel Jakub Dawidek fb1daf8164 Fix a bug in sendfile(2) when files larger than page size and nbytes=0.
When nbytes=0, sendfile(2) should use file size. Because of the bug, it
was sending half of a file. The bug is that 'off' variable can't be used
for size calculation, because it changes inside the loop, so we should
use uap->offset instead.
2007-04-19 05:54:45 +00:00
..
2007-04-18 20:12:05 +00:00
2007-04-09 22:09:09 +00:00
2007-03-21 03:42:51 +00:00
2007-04-10 21:40:13 +00:00
2007-04-10 21:40:13 +00:00