summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/libio.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-13 10:49:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-14 07:02:29 +0200
commit5eb67f3ad04ee1cbacc38b474397a620d3064e1c (patch)
treef2940f0ed8af8b9f26a8cfdd7204187dfbbfb982 /cpukit/libcsupport/src/libio.c
parentfstests/fsimfsgeneric01: Fix test assert (diff)
downloadrtems-5eb67f3ad04ee1cbacc38b474397a620d3064e1c.tar.bz2
libio: Remove LIBIO_FLAGS_CREATE
Close #3134.
Diffstat (limited to 'cpukit/libcsupport/src/libio.c')
-rw-r--r--cpukit/libcsupport/src/libio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/libio.c b/cpukit/libcsupport/src/libio.c
index 22be6411a2..cd3a4420f6 100644
--- a/cpukit/libcsupport/src/libio.c
+++ b/cpukit/libcsupport/src/libio.c
@@ -55,7 +55,6 @@ static const rtems_assoc_t status_flags_assoc[] = {
#endif
{ "NONBLOCK", LIBIO_FLAGS_NO_DELAY, O_NONBLOCK },
{ "APPEND", LIBIO_FLAGS_APPEND, O_APPEND },
- { "CREATE", LIBIO_FLAGS_CREATE, O_CREAT },
{ 0, 0, 0 },
};
@@ -104,10 +103,6 @@ int rtems_libio_to_fcntl_flags( uint32_t flags )
fcntl_flags |= O_APPEND;
}
- if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {
- fcntl_flags |= O_CREAT;
- }
-
return fcntl_flags;
}