Changeset 1063 for trunk/dll/dirsize.c


Ignore:
Timestamp:
Jul 11, 2008, 5:33:36 AM (17 years ago)
Author:
Gregg Young
Message:

Fortify ifdef reformat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dirsize.c

    r1051 r1063  
    6969typedef struct
    7070{
    71   CHAR szDirName[CCHMAXPATH];
     71  CHAR szDirName[CCHMAXPATH + 320];
    7272  CHAR chStopFlag;
    7373  BOOL dying;
     
    309309    CHAR szAllDir[80];
    310310    CHAR szBar[80];
    311     CHAR szBuf[CCHMAXPATH * 2];
    312 
    313 # ifdef FORTIFY
    314   Fortify_EnterScope();
    315 # endif
     311    CHAR szBuf[CCHMAXPATH + 320];
     312
     313#   ifdef FORTIFY
     314    Fortify_EnterScope();
     315#    endif
    316316
    317317    // cbFile = currect directory usage in bytes
     
    437437# ifdef FORTIFY
    438438  Fortify_EnterScope();
    439 # endif
     439#  endif
    440440
    441441  hwndCnr = dirsize->hwndCnr;
     
    467467# ifdef FORTIFY
    468468  Fortify_LeaveScope();
    469 # endif
     469#  endif
    470470}
    471471
     
    483483      break;
    484484    }
    485 # ifdef FORTIFY
    486   Fortify_EnterScope();
    487 # endif
     485#   ifdef FORTIFY
     486    Fortify_EnterScope();
     487#    endif
    488488    pState = xmallocz(sizeof(tState), pszSrcFile, __LINE__);
    489489    if (!pState) {
     
    10251025      DosSleep(16); //05 Aug 07 GKY 33
    10261026      xfree(pState, pszSrcFile, __LINE__); // Let's hope no one is still looking
    1027 # ifdef FORTIFY
    1028   Fortify_LeaveScope();
    1029 # endif
     1027#     ifdef FORTIFY
     1028      Fortify_LeaveScope();
     1029#      endif
    10301030    }
    10311031    DosPostEventSem(CompactSem);
Note: See TracChangeset for help on using the changeset viewer.