… | |
… | |
973 | if (res < 0 |
973 | if (res < 0 |
974 | && (errno == ENOSYS || errno == EINVAL || errno == ENOTSOCK |
974 | && (errno == ENOSYS || errno == EINVAL || errno == ENOTSOCK |
975 | #if __solaris |
975 | #if __solaris |
976 | || errno == EAFNOSUPPORT || errno == EPROTOTYPE |
976 | || errno == EAFNOSUPPORT || errno == EPROTOTYPE |
977 | #endif |
977 | #endif |
|
|
978 | || errno == ENOTSUP || errno == EOPNOTSUPP |
978 | ) |
979 | ) |
979 | ) |
980 | ) |
980 | { |
981 | { |
981 | /* emulate sendfile. this is a major pain in the ass */ |
982 | /* emulate sendfile. this is a major pain in the ass */ |
982 | dBUF; |
983 | dBUF; |