Ignore:
Timestamp:
May 27, 2009, 9:09:42 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/lib/sendfile.c

    r133 r232  
    6666                } while (nwritten == -1 && errno == EINTR);
    6767                if (nwritten == -1) {
    68                         if (errno == ENOSYS) {
     68                        if (errno == ENOSYS || errno == EINVAL) {
    6969                                /* Ok - we're in a world of pain here. We just sent
    7070                                 * the header, but the sendfile failed. We have to
     
    144144                } while (nwritten == -1 && errno == EINTR);
    145145                if (nwritten == -1) {
    146                         if (errno == ENOSYS) {
     146                        if (errno == ENOSYS || errno == EINVAL) {
    147147                                /* Ok - we're in a world of pain here. We just sent
    148148                                 * the header, but the sendfile failed. We have to
Note: See TracChangeset for help on using the changeset viewer.