Changeset fc0b91c in rtems


Ignore:
Timestamp:
12/13/99 19:20:38 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f9669ce5
Parents:
5dae90a
Message:

Patch from Eric Norum <eric@…> to make the NTP handler a little
more flexible about the error status returned from a timeout.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libnetworking/lib/rtems_bsdnet_ntp.c

    r5dae90a rfc0b91c  
    147147                        rtems_panic ("EOF");
    148148                if (i < 0) {
    149                         if (errno == EWOULDBLOCK)
     149                        if ((errno == EWOULDBLOCK) || (errno == EAGAIN))
    150150                                continue;
    151151                        rtems_panic ("Can't receive: %s", strerror (errno));
  • c/src/libnetworking/lib/rtems_bsdnet_ntp.c

    r5dae90a rfc0b91c  
    147147                        rtems_panic ("EOF");
    148148                if (i < 0) {
    149                         if (errno == EWOULDBLOCK)
     149                        if ((errno == EWOULDBLOCK) || (errno == EAGAIN))
    150150                                continue;
    151151                        rtems_panic ("Can't receive: %s", strerror (errno));
  • cpukit/libnetworking/lib/rtems_bsdnet_ntp.c

    r5dae90a rfc0b91c  
    147147                        rtems_panic ("EOF");
    148148                if (i < 0) {
    149                         if (errno == EWOULDBLOCK)
     149                        if ((errno == EWOULDBLOCK) || (errno == EAGAIN))
    150150                                continue;
    151151                        rtems_panic ("Can't receive: %s", strerror (errno));
Note: See TracChangeset for help on using the changeset viewer.