Changeset 856ede4f in rtems for cpukit/posix


Ignore:
Timestamp:
Sep 13, 2017, 8:11:46 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ca90c6c
Parents:
ec10d26
git-author:
Sebastian Huber <sebastian.huber@…> (09/13/17 08:11:46)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/15/17 05:48:03)
Message:

libio: Add iop set/clear flags

Update #3132.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/shmopen.c

    rec10d26 r856ede4f  
    276276
    277277  fd = rtems_libio_iop_to_descriptor( iop );
    278   iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;
     278  rtems_libio_iop_flags_set( iop, LIBIO_FLAGS_CLOSE_ON_EXEC );
    279279  if ( oflag & O_RDONLY ) {
    280     iop->flags |= LIBIO_FLAGS_READ;
     280    rtems_libio_iop_flags_set( iop, LIBIO_FLAGS_READ );
    281281  } else {
    282     iop->flags |= LIBIO_FLAGS_READ_WRITE;
     282    rtems_libio_iop_flags_set( iop, LIBIO_FLAGS_READ_WRITE );
    283283  }
    284284  iop->data0 = fd;
Note: See TracChangeset for help on using the changeset viewer.