Project

General

Profile

Feature #9427 ยป 0001-io.c-remove-socket-check-for-sendfile.patch

normalperson (Eric Wong), 01/18/2014 10:46 PM

View differences:

io.c
stp->error_no = errno;
return -1;
}
if ((dst_stat.st_mode & S_IFMT) != S_IFSOCK)
return 0;
src_offset = stp->src_offset;
use_pread = src_offset != (off_t)-1;
    (1-1/1)