Changeset 530 for trunk/dll/valid.c


Ignore:
Timestamp:
Nov 4, 2006, 10:05:18 PM (19 years ago)
Author:
root
Message:

Add NDFS32 support
Increased BUFFER_BYTES in CheckDrive to 8192 to fix NDFS32 scan failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/valid.c

    r328 r530  
    1818  28 Nov 05 SHL MakeValidDir: correct DosQuerySysInfo args
    1919  22 Jul 06 SHL Use Runtime_Error
     20  22 Oct 06 GKY Add NDFS32 support
     21  22 Oct 06 GKY Increased BUFFER_BYTES in CheckDrive to 8192 to fix NDFS32 scan failure
    2022
    2123***********************************************************************/
     
    217219  if (pszFileSystem)
    218220    *pszFileSystem = 0;
     221
    219222  if (pulType)
    220223    *pulType = 0;
    221224
    222 # define BUFFER_BYTES   4096
     225# define BUFFER_BYTES 8192
    223226  rc = DosAllocMem(&pvBuffer,BUFFER_BYTES,PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
    224227  if (rc) {
     
    281284         !strcmp(pfsn,JFS) ||
    282285         !strcmp(pfsn,FAT32) ||
     286         !strcmp(pfsn,NDFS32) ||
    283287         !strcmp(pfsn,HPFS386)))
    284288    {
     
    294298      strcmp(pfsn,CDFS) &&
    295299      strcmp(pfsn,FAT32) &&
     300      strcmp(pfsn,NDFS32) &&
    296301      strcmp(pfsn,HPFS386))
    297302  {
Note: See TracChangeset for help on using the changeset viewer.