Ignore:
Timestamp:
Jan 21, 2009, 6:19:11 PM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.34

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/lib/system.c

    r140 r161  
    123123{
    124124        ssize_t ret;
    125 
     125DEBUG(0,("sys_read - count = %d\n",count));
    126126        do {
    127127                ret = read(fd, buf, count);
    128 #ifndef __OS2__
     128#ifndef __OS2__x
    129129        } while (ret == -1 && errno == EINTR);
    130130#else
     
    132132        } while (ret == -1 && ((errno == EINTR)||(errno == EAGAIN)));
    133133#endif
    134 
     134        if (errno == EAGAIN)
     135                DEBUG(0,("sys_read - EAGAIN returned - count = %d\n",count));
    135136        return ret;
    136137}
     
    143144{
    144145        ssize_t ret;
    145 
     146DEBUG(0,("sys_write - count = %d\n",count));
    146147        do {
    147148                ret = write(fd, buf, count);
    148 #ifndef __OS2__
     149#ifndef __OS2__x
    149150        } while (ret == -1 && errno == EINTR);
    150151#else
     
    152153        } while (ret == -1 && ((errno == EINTR)||(errno == EAGAIN)));
    153154#endif
     155        if (errno == EAGAIN)
     156                DEBUG(0,("sys_write - EAGAIN returned - count = %d\n",count));
    154157        return ret;
    155158}
Note: See TracChangeset for help on using the changeset viewer.