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/libfs/src/dosfs/msdos_eval.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/libfs/src/dosfs/msdos_eval.c')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_eval.c b/cpukit/libfs/src/dosfs/msdos_eval.c index 3fe7029138..dd614ace23 100644 --- a/cpukit/libfs/src/dosfs/msdos_eval.c +++ b/cpukit/libfs/src/dosfs/msdos_eval.c @@ -119,7 +119,7 @@ msdos_eval_path( */ if (fat_fd->fat_file_type != FAT_DIRECTORY) { - errno = ENOTDIR; + errno = ENOTSUP; rc = -1; goto error; } @@ -174,7 +174,7 @@ msdos_eval_path( */ if (fat_fd->fat_file_type != FAT_DIRECTORY) { - errno = ENOTDIR; + errno = ENOTSUP; rc = -1; goto error; } |