Changeset c9df8d8f in rtems


Ignore:
Timestamp:
Jan 28, 1999, 6:42:04 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
cdf8a300
Parents:
d90df9aa
Message:

Patch from Eric Norum <eric@…> to set more flags in
rtems_bsdnet_makeFdForSocket().

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/libio_sockets.c

    rd90df9aa rc9df8d8f  
    5252      errno = ENFILE;
    5353      return -1;
    54  }
    55   iop->flags |= LIBIO_FLAGS_HANDLER_SOCK;
     54  }
     55  iop->flags |= LIBIO_FLAGS_HANDLER_SOCK | LIBIO_FLAGS_WRITE | LIBIO_FLAGS_READ;
    5656  iop->data1 = so;
    5757  return iop - rtems_libio_iops;
  • c/src/lib/libc/libio_sockets.c

    rd90df9aa rc9df8d8f  
    5252      errno = ENFILE;
    5353      return -1;
    54  }
    55   iop->flags |= LIBIO_FLAGS_HANDLER_SOCK;
     54  }
     55  iop->flags |= LIBIO_FLAGS_HANDLER_SOCK | LIBIO_FLAGS_WRITE | LIBIO_FLAGS_READ;
    5656  iop->data1 = so;
    5757  return iop - rtems_libio_iops;
  • cpukit/libcsupport/src/libio_sockets.c

    rd90df9aa rc9df8d8f  
    5252      errno = ENFILE;
    5353      return -1;
    54  }
    55   iop->flags |= LIBIO_FLAGS_HANDLER_SOCK;
     54  }
     55  iop->flags |= LIBIO_FLAGS_HANDLER_SOCK | LIBIO_FLAGS_WRITE | LIBIO_FLAGS_READ;
    5656  iop->data1 = so;
    5757  return iop - rtems_libio_iops;
Note: See TracChangeset for help on using the changeset viewer.