Changeset 5978038f in rtems


Ignore:
Timestamp:
08/17/05 19:17:37 (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
f45e884
Parents:
5c12a265
Message:

2005-08-17 Nickolay Semyonov <snob@…>

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.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r5c12a265 r5978038f  
     12005-08-17      Nickolay Semyonov <snob@oktetlabs.ru>
     2
     3        PR 744/filesystem
     4        * libcsupport/src/unlink.c, libfs/src/dosfs/msdos_eval.c: DOSFS did not
     5        support permissions on directories so the check performed by unlink
     6        would always fail. The unlink code was modified to support a not
     7        supported status being returned.
     8
    192005-08-12      Chris Johns <chrisj@rtems.org>
    210
  • cpukit/libcsupport/src/unlink.c

    r5c12a265 r5978038f  
    3737 
    3838  result = rtems_filesystem_evaluate_parent(RTEMS_LIBIO_PERMS_WRITE, &loc );
    39   if (result != 0){
     39  if (result != 0 && errno != ENOTSUP) {
    4040    rtems_filesystem_freenode( &loc );
    4141    return -1;
  • cpukit/libfs/ChangeLog

    r5c12a265 r5978038f  
     12005-08-17      Nickolay Semyonov <snob@oktetlabs.ru>
     2
     3        PR 744/filesystem
     4        * libcsupport/src/unlink.c, libfs/src/dosfs/msdos_eval.c: DOSFS did not
     5        support permissions on directories so the check performed by unlink
     6        would always fail. The unlink code was modified to support a not
     7        supported status being returned.
     8
    192003-10-22      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
    210
  • cpukit/libfs/src/dosfs/msdos_eval.c

    r5c12a265 r5978038f  
    120120                if (fat_fd->fat_file_type != FAT_DIRECTORY)
    121121                {
    122                     errno = ENOTDIR;
     122                    errno = ENOTSUP;
    123123                    rc = -1;
    124124                    goto error;
     
    175175                if (fat_fd->fat_file_type != FAT_DIRECTORY)
    176176                {
    177                     errno = ENOTDIR;
     177                    errno = ENOTSUP;
    178178                    rc = -1;
    179179                    goto error;
Note: See TracChangeset for help on using the changeset viewer.