Changeset 51 for trunk/dll/dirsize.c


Ignore:
Timestamp:
Feb 12, 2003, 9:22:14 PM (23 years ago)
Author:
root
Message:

Standardize EA match

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dirsize.c

    r36 r51  
    1010
    1111  Revisions     16 Oct 02 SHL - Handle large partitions
     12                12 Feb 03 SHL - Use CBLIST_TO_EASIZE
    1213
    1314***********************************************************************/
     
    5758
    5859static ULONG ProcessDir (HWND hwndCnr,CHAR *filename,PCNRITEM pciParent,
    59                          CHAR *stopflag,BOOL top) {
    60 
     60                         CHAR *stopflag,BOOL top)
     61{
    6162  CHAR           maskstr[CCHMAXPATH],*endpath;
    6263  register char *p,*sp,*pp;
     
    107108    }
    108109    if(!rc)
    109       totalbytes = ffb->cbFile + (ffb->cbList > 4L) ? (ffb->cbList / 2) : 0L;
     110      totalbytes = ffb->cbFile + CBLIST_TO_EASIZE(ffb->cbList);
    110111    else
    111112      DosError(FERR_DISABLEHARDERR);
     
    190191           pffbFile->achName[1] != '.')) ||
    191192           !(pffbFile->attrFile & FILE_DIRECTORY)) {
    192             totalbytes += (pffbFile->cbFile +
    193                           ((pffbFile->cbList > 4L) ?
    194                             (pffbFile->cbList / 2) : 0L));
     193            totalbytes += pffbFile->cbFile +
     194                          CBLIST_TO_EASIZE(pffbFile->cbList);
    195195          if(!(pffbFile->attrFile & FILE_DIRECTORY))
    196196            pciP->attrFile++;
Note: See TracChangeset for help on using the changeset viewer.