Changeset 1238

Show
Ignore:
Timestamp:
09/17/08 09:32:18 (3 months ago)
Author:
jbs
Message:

AV2.C: Converted to use of xDosFind... wrapper functions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/av2.c

    r1203 r1238  
    1111  23 Sep 07 SHL Sync with standards 
    1212  23 Sep 07 SHL Get rid of statics 
     13  17 Sep 08 JBS Convert to use of wrapped DosFind... (i.e. xDosFind...) 
    1314 
    1415***********************************************************************/ 
     
    3839#include "dll\init.h"                   // InitFM3DLL 
    3940#include "dll\valid.h"                  // IsFile 
     41#include "dll\wrappers.h"               // xDosFind... 
    4042 
    4143HMTX av2Sem; 
     
    6264      search_handle = HDIR_CREATE; 
    6365      num_matches = 1; 
    64       if (!DosFindFirst(s, 
     66      if (!xDosFindFirst(s, 
    6567                        &search_handle, 
    6668                        FILE_NORMAL | FILE_DIRECTORY | FILE_SYSTEM | 
     
    7880          else 
    7981            unlinkf("%s", s); 
    80         } while (!DosFindNext(search_handle, 
    81                               &ffb3, sizeof(FILEFINDBUF3), &num_matches)); 
     82        } while (!xDosFindNext(search_handle, 
     83                              &ffb3, sizeof(FILEFINDBUF3), &num_matches, FIL_STANDARD)); 
    8284        DosFindClose(search_handle); 
    8385      }