mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
2005-08-12 Chris Johns <chrisj@rtems.org>
|
||||
|
||||
PR 808/rtems_misc
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user