diff -r eb7c3bc1856d backends/fs/amigaos4/amigaos4-fs.cpp
a
|
b
|
|
335 | 335 | // Regular RWED protection flags are low-active or inverted, thus the negation. |
336 | 336 | // moreover pseudo root filesystem (null _pFileLock) is readable whatever the |
337 | 337 | // protection says |
338 | | bool readable = !(_nProt & EXDF_READ) || _pFileLock == 0; |
| 338 | bool readable = !(_nProt & EXDF_OTR_READ) || _pFileLock == 0; |
339 | 339 | |
340 | 340 | return readable; |
341 | 341 | } |
… |
… |
|
344 | 344 | // Regular RWED protection flags are low-active or inverted, thus the negation. |
345 | 345 | // moreover pseudo root filesystem (null _pFileLock) is never writable whatever |
346 | 346 | // the protection says (because of the pseudo nature) |
347 | | bool writable = !(_nProt & EXDF_WRITE) && _pFileLock !=0; |
| 347 | bool writable = !(_nProt & EXDF_OTR_WRITE) && _pFileLock !=0; |
348 | 348 | |
349 | 349 | return writable; |
350 | 350 | } |
… |
… |
|
367 | 367 | dosList = IDOS->NextDosEntry(dosList, LDF_VOLUMES); |
368 | 368 | while (dosList) { |
369 | 369 | if (dosList->dol_Type == DLT_VOLUME && |
370 | | dosList->dol_Name && |
371 | | dosList->dol_Task) { |
| 370 | dosList->dol_Name) { |
| 371 | |
| 372 | // Original was |
| 373 | // dosList->dol_Name && |
| 374 | // dosList->dol_Task) { |
| 375 | // which errored using SDK 53.24 with a 'struct dosList' has no member called 'dol_Task' |
| 376 | // I removed dol_Task because it's not used anywhere else |
| 377 | // and it neither brought up further errors nor crashes or regressions. |
372 | 378 | |
373 | 379 | // Copy name to buffer |
374 | 380 | IDOS->CopyStringBSTRToC(dosList->dol_Name, buffer, MAXPATHLEN); |