Changeset b3b78ec in rtems


Ignore:
Timestamp:
08/17/05 19:11:46 (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
77bb84e
Parents:
7930bde1
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:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r7930bde1 rb3b78ec  
     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-15  Ralf Corsepius  <ralf.corsepius@rtems.org>
    210
  • cpukit/libcsupport/src/unlink.c

    r7930bde1 rb3b78ec  
    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/src/dosfs/msdos_eval.c

    r7930bde1 rb3b78ec  
    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.