diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-08-17 19:11:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-08-17 19:11:46 +0000 |
commit | b3b78ecffe627d735889295574258cccaf5c9eea (patch) | |
tree | ed7d177ce464593a57e8818af2c5dc1d2cb67a5d /cpukit/libcsupport/src/unlink.c | |
parent | 2005-08-16 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-b3b78ecffe627d735889295574258cccaf5c9eea.tar.bz2 |
2005-08-17 Nickolay Semyonov <snob@oktetlabs.ru>
PR 744/filesystem
* libcsupport/src/unlink.c, libfs/src/dosfs/msdos_eval.c: DOSFS did not
support permissions on directories so the check performed by unlink
would always fail. The unlink code was modified to support a not
supported status being returned.
Diffstat (limited to 'cpukit/libcsupport/src/unlink.c')
-rw-r--r-- | cpukit/libcsupport/src/unlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/unlink.c b/cpukit/libcsupport/src/unlink.c index 5b5f17c02a..b4fb6cbab1 100644 --- a/cpukit/libcsupport/src/unlink.c +++ b/cpukit/libcsupport/src/unlink.c @@ -36,7 +36,7 @@ int unlink( return -1; result = rtems_filesystem_evaluate_parent(RTEMS_LIBIO_PERMS_WRITE, &loc ); - if (result != 0){ + if (result != 0 && errno != ENOTSUP) { rtems_filesystem_freenode( &loc ); return -1; } |