Ticket #8577: amigaos4_fix.diff
File amigaos4_fix.diff, 902 bytes (added by , 18 years ago) |
---|
-
backends/fs/amigaos4/amigaos4-fs.cpp
125 125 126 126 _sDisplayName = String(str + offset, len); 127 127 _pFileLock = 0; 128 _bIsDirectory = false; 128 129 129 130 struct FileInfoBlock *fib = (struct FileInfoBlock *)IDOS->AllocDosObject(DOS_FIB, NULL); 130 131 if (!fib) { … … 149 150 150 151 } 151 152 else { 152 _bIsDirectory = false;153 //_bIsDirectory = false; 153 154 _bIsValid = true; 154 155 } 155 156 } … … 187 188 } 188 189 189 190 _bIsValid = false; 191 _bIsDirectory = false; 190 192 191 193 struct FileInfoBlock *fib = (struct FileInfoBlock *)IDOS->AllocDosObject(DOS_FIB, NULL); 192 194 if (!fib) { … … 206 208 _sPath += '/'; 207 209 } 208 210 else { 209 _bIsDirectory = false;211 //_bIsDirectory = false; 210 212 _bIsValid = true; 211 213 } 212 214 }