Changeset 1238


Ignore:
Timestamp:
Sep 17, 2008, 9:32:18 AM (17 years ago)
Author:
John Small
Message:

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

File:
1 edited

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      }
Note: See TracChangeset for help on using the changeset viewer.