Changeset 847 for trunk/dll/valid.c


Ignore:
Timestamp:
Sep 29, 2007, 8:45:16 PM (18 years ago)
Author:
Gregg Young
Message:

Removed large file APIs from code where hey are not needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/valid.c

    r844 r847  
    8787
    8888  int comp = 0;
    89   FILESTATUS3L fs3o, fs3n;
     89  FILESTATUS3 fs3o, fs3n;
    9090
    9191  DosError(FERR_DISABLEHARDERR);
    92   if (!DosQueryPathInfo(file1, FIL_STANDARDL, &fs3o, sizeof(fs3o))) {
    93     DosError(FERR_DISABLEHARDERR);
    94     if (!DosQueryPathInfo(file2, FIL_STANDARDL, &fs3n, sizeof(fs3n))) {
     92  if (!DosQueryPathInfo(file1, FIL_STANDARD, &fs3o, sizeof(fs3o))) {
     93    DosError(FERR_DISABLEHARDERR);
     94    if (!DosQueryPathInfo(file2, FIL_STANDARD, &fs3n, sizeof(fs3n))) {
    9595      comp = (fs3n.fdateLastWrite.year >
    9696              fs3o.fdateLastWrite.year) ? 1 :
     
    379379  /* returns:  -1 (error), 0 (is a directory), or 1 (is a file) */
    380380
    381   FILESTATUS3L fsa;
     381  FILESTATUS3 fsa;
    382382  APIRET ret;
    383383
    384384  if (filename && *filename) {
    385385    DosError(FERR_DISABLEHARDERR);
    386     ret = DosQueryPathInfo(filename, FIL_STANDARDL, &fsa, (ULONG) sizeof(fsa));
     386    ret = DosQueryPathInfo(filename, FIL_STANDARD, &fsa, (ULONG) sizeof(fsa));
    387387    if (!ret)
    388388      return ((fsa.attrFile & FILE_DIRECTORY) == 0);
     
    408408{
    409409  CHAR fullname[CCHMAXPATH];
    410   FILESTATUS3L fs;
     410  FILESTATUS3 fs;
    411411
    412412  if (path) {
     
    418418          DosError(FERR_DISABLEHARDERR);
    419419          if (!DosQueryPathInfo(fullname,
    420                                 FIL_STANDARDL,
     420                                FIL_STANDARD,
    421421                                &fs,
    422422                                sizeof(fs)) && (fs.attrFile & FILE_DIRECTORY))
     
    462462  ULONG ulDrv;
    463463  CHAR *p;
    464   FILESTATUS3L fs;
     464  FILESTATUS3 fs;
    465465  APIRET rc;
    466466
     
    472472          return path;
    473473        DosError(FERR_DISABLEHARDERR);
    474         rc = DosQueryPathInfo(path, FIL_STANDARDL, &fs, sizeof(fs));
     474        rc = DosQueryPathInfo(path, FIL_STANDARD, &fs, sizeof(fs));
    475475        if (!rc && (fs.attrFile & FILE_DIRECTORY))
    476476          return path;
Note: See TracChangeset for help on using the changeset viewer.