diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-08-17 19:17:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-08-17 19:17:37 +0000 |
commit | 5978038f779693b2c9f3558c79217664f84c7b2d (patch) | |
tree | 23de5c67f44a0926b806d6992fb2c4284e260834 /cpukit/libfs | |
parent | 2005-08-12 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-5978038f779693b2c9f3558c79217664f84c7b2d.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')
-rw-r--r-- | cpukit/libfs/ChangeLog | 8 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_eval.c | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog index 608ee80b0b..2100a0ea7a 100644 --- a/cpukit/libfs/ChangeLog +++ b/cpukit/libfs/ChangeLog @@ -1,3 +1,11 @@ +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. + 2003-10-22 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> PR 515/filesystem diff --git a/cpukit/libfs/src/dosfs/msdos_eval.c b/cpukit/libfs/src/dosfs/msdos_eval.c index 3cd07f7b84..8f16249af8 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; } |