Changeset 555 for trunk/dll/valid.c
- Timestamp:
- Mar 4, 2007, 6:01:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/valid.c
r552 r555 244 244 245 245 if (pulType && (!strcmp(pfsn, CDFS) || !strcmp(pfsn, ISOFS))) 246 *pulType |= DRIVE_NOTWRITEABLE | DRIVE_CDROM | DRIVE_REMOVABLE; 246 *pulType |= DRIVE_NOTWRITEABLE | DRIVE_CDROM | DRIVE_REMOVABLE; 247 if (pulType && !strcmp(pfsn, NTFS)) 248 *pulType |= DRIVE_NOTWRITEABLE; 247 249 if (pulType && !strcmp(pfsn, NDFS32)){ 248 250 *pulType |= DRIVE_VIRTUAL; … … 252 254 } 253 255 if (((PFSQBUFFER2) pvBuffer)->iType == FSAT_REMOTEDRV && 254 (strcmp(pfsn, CDFS) &&strcmp(pfsn, ISOFS))) {256 (strcmp(pfsn, CDFS) || strcmp(pfsn, ISOFS))) { 255 257 if (pulType) 256 258 *pulType |= DRIVE_REMOTE; … … 278 280 !strcmp(pfsn, RAMFS) || 279 281 !strcmp(pfsn, NDFS32) || 282 !strcmp(pfsn, NTFS) || 280 283 !strcmp(pfsn, HPFS386))) { 281 284 *pulType &= ~DRIVE_NOLONGNAMES; … … 294 297 strcmp(pfsn, FAT32) && 295 298 strcmp(pfsn, NDFS32) && 299 strcmp(pfsn, NTFS) && 296 300 strcmp(pfsn, HPFS386)) { 297 301 if (pulType) … … 642 646 driveflags[x] &= (~DRIVE_REMOTE); 643 647 } 648 if(!stricmp(FileSystem,NTFS)) 649 driveflags[x] |= DRIVE_NOTWRITEABLE; 644 650 if (strcmp(FileSystem, HPFS) && 645 651 strcmp(FileSystem, JFS) && … … 648 654 strcmp(FileSystem, RAMFS) && 649 655 strcmp(FileSystem, FAT32) && 656 strcmp(FileSystem, NTFS) && 657 strcmp(FileSystem, NDFS32) && 650 658 strcmp(FileSystem, HPFS386)) { 651 659 driveflags[x] |= DRIVE_NOLONGNAMES;
Note:
See TracChangeset
for help on using the changeset viewer.