diff -ubBdr rtems-old/cpukit/libcsupport/src/unlink.c rtems/cpukit/libcsupport/src/unlink.c
old
|
new
|
|
36 | 36 | return -1; |
37 | 37 | |
38 | 38 | result = rtems_filesystem_evaluate_parent(RTEMS_LIBIO_PERMS_WRITE, &loc ); |
39 | | if (result != 0){ |
| 39 | if (result != 0 && errno != ENOTSUP){ |
40 | 40 | rtems_filesystem_freenode( &loc ); |
41 | 41 | return -1; |
42 | 42 | } |
diff -ubBdr rtems-old/cpukit/libfs/src/dosfs/msdos_eval.c rtems/cpukit/libfs/src/dosfs/msdos_eval.c
old
|
new
|
|
119 | 119 | */ |
120 | 120 | if (fat_fd->fat_file_type != FAT_DIRECTORY) |
121 | 121 | { |
122 | | errno = ENOTDIR; |
| 122 | errno = ENOTSUP; |
123 | 123 | rc = -1; |
124 | 124 | goto error; |
125 | 125 | } |
… |
… |
|
174 | 174 | */ |
175 | 175 | if (fat_fd->fat_file_type != FAT_DIRECTORY) |
176 | 176 | { |
177 | | errno = ENOTDIR; |
| 177 | errno = ENOTSUP; |
178 | 178 | rc = -1; |
179 | 179 | goto error; |
180 | 180 | } |