diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-13 10:49:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-14 07:02:29 +0200 |
commit | 5eb67f3ad04ee1cbacc38b474397a620d3064e1c (patch) | |
tree | f2940f0ed8af8b9f26a8cfdd7204187dfbbfb982 /cpukit/libcsupport/src/fcntl.c | |
parent | fstests/fsimfsgeneric01: Fix test assert (diff) | |
download | rtems-5eb67f3ad04ee1cbacc38b474397a620d3064e1c.tar.bz2 |
libio: Remove LIBIO_FLAGS_CREATE
Close #3134.
Diffstat (limited to 'cpukit/libcsupport/src/fcntl.c')
-rw-r--r-- | cpukit/libcsupport/src/fcntl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/fcntl.c b/cpukit/libcsupport/src/fcntl.c index e7b6b23479..e7a9868980 100644 --- a/cpukit/libcsupport/src/fcntl.c +++ b/cpukit/libcsupport/src/fcntl.c @@ -33,7 +33,6 @@ static int duplicate_iop( rtems_libio_t *iop ) if (diop != NULL) { int oflag = rtems_libio_to_fcntl_flags( iop->flags ); - oflag &= ~O_CREAT; diop->flags |= rtems_libio_fcntl_flags( oflag ); rtems_filesystem_instance_lock( &iop->pathinfo ); @@ -76,7 +75,6 @@ static int duplicate2_iop( rtems_libio_t *iop, int fd2 ) if (rv == 0) { oflag = rtems_libio_to_fcntl_flags( iop->flags ); - oflag &= ~O_CREAT; iop2->flags |= rtems_libio_fcntl_flags( oflag ); rtems_filesystem_instance_lock( &iop->pathinfo ); |