forked from Imagelibrary/rtems
2000-09-05 Joel Sherrill <joel@OARcorp.com>
* rtems/rtems_syscall.c: Changed from O_NONBLOCK to internal RTEMS_LIBIO_FLAGS_NO_DELAY to avoid O_NONBLOCK/O_NDELAY confusion and to work with the converted flags.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2000-09-05 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/rtems_syscall.c: Changed from O_NONBLOCK to internal
|
||||||
|
RTEMS_LIBIO_FLAGS_NO_DELAY to avoid O_NONBLOCK/O_NDELAY confusion
|
||||||
|
and to work with the converted flags.
|
||||||
|
|
||||||
2000-09-01 Rosimildo daSilva <rdasilva@connecttel.com>
|
2000-09-01 Rosimildo daSilva <rdasilva@connecttel.com>
|
||||||
|
|
||||||
* emfdb.c: Removed stray semi-colon. Reported on GoAhead
|
* emfdb.c: Removed stray semi-colon. Reported on GoAhead
|
||||||
|
|||||||
@@ -730,7 +730,7 @@ rtems_bsdnet_fcntl (int cmd, rtems_libio_t *iop)
|
|||||||
rtems_bsdnet_semaphore_release ();
|
rtems_bsdnet_semaphore_release ();
|
||||||
return EBADF;
|
return EBADF;
|
||||||
}
|
}
|
||||||
if (iop->flags & O_NONBLOCK)
|
if (iop->flags & LIBIO_FLAGS_NO_DELAY)
|
||||||
so->so_state |= SS_NBIO;
|
so->so_state |= SS_NBIO;
|
||||||
else
|
else
|
||||||
so->so_state &= ~SS_NBIO;
|
so->so_state &= ~SS_NBIO;
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2000-09-05 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/rtems_syscall.c: Changed from O_NONBLOCK to internal
|
||||||
|
RTEMS_LIBIO_FLAGS_NO_DELAY to avoid O_NONBLOCK/O_NDELAY confusion
|
||||||
|
and to work with the converted flags.
|
||||||
|
|
||||||
2000-09-01 Rosimildo daSilva <rdasilva@connecttel.com>
|
2000-09-01 Rosimildo daSilva <rdasilva@connecttel.com>
|
||||||
|
|
||||||
* emfdb.c: Removed stray semi-colon. Reported on GoAhead
|
* emfdb.c: Removed stray semi-colon. Reported on GoAhead
|
||||||
|
|||||||
@@ -730,7 +730,7 @@ rtems_bsdnet_fcntl (int cmd, rtems_libio_t *iop)
|
|||||||
rtems_bsdnet_semaphore_release ();
|
rtems_bsdnet_semaphore_release ();
|
||||||
return EBADF;
|
return EBADF;
|
||||||
}
|
}
|
||||||
if (iop->flags & O_NONBLOCK)
|
if (iop->flags & LIBIO_FLAGS_NO_DELAY)
|
||||||
so->so_state |= SS_NBIO;
|
so->so_state |= SS_NBIO;
|
||||||
else
|
else
|
||||||
so->so_state &= ~SS_NBIO;
|
so->so_state &= ~SS_NBIO;
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2000-09-05 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/rtems_syscall.c: Changed from O_NONBLOCK to internal
|
||||||
|
RTEMS_LIBIO_FLAGS_NO_DELAY to avoid O_NONBLOCK/O_NDELAY confusion
|
||||||
|
and to work with the converted flags.
|
||||||
|
|
||||||
2000-09-01 Rosimildo daSilva <rdasilva@connecttel.com>
|
2000-09-01 Rosimildo daSilva <rdasilva@connecttel.com>
|
||||||
|
|
||||||
* emfdb.c: Removed stray semi-colon. Reported on GoAhead
|
* emfdb.c: Removed stray semi-colon. Reported on GoAhead
|
||||||
|
|||||||
@@ -730,7 +730,7 @@ rtems_bsdnet_fcntl (int cmd, rtems_libio_t *iop)
|
|||||||
rtems_bsdnet_semaphore_release ();
|
rtems_bsdnet_semaphore_release ();
|
||||||
return EBADF;
|
return EBADF;
|
||||||
}
|
}
|
||||||
if (iop->flags & O_NONBLOCK)
|
if (iop->flags & LIBIO_FLAGS_NO_DELAY)
|
||||||
so->so_state |= SS_NBIO;
|
so->so_state |= SS_NBIO;
|
||||||
else
|
else
|
||||||
so->so_state &= ~SS_NBIO;
|
so->so_state &= ~SS_NBIO;
|
||||||
|
|||||||
Reference in New Issue
Block a user