Feature #9427 ยป 0001-io.c-remove-socket-check-for-sendfile.patch
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;
|