Changeset 1063 for trunk/dll/makelist.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/makelist.c

    r1039 r1063  
    7676      FreeList(li->list);
    7777    free(li);
    78 # ifdef FORTIFY
    79   //Fortify_LeaveScope();
    80 # endif
    8178  }
    8279}
     
    9794#endif
    9895    free(list);
    99 # ifdef FORTIFY
    100   //Fortify_LeaveScope();
    101 # endif
    10296  }
    10397  DosPostEventSem(CompactSem);
     
    116110      // Use plain realloc for speed
    117111      // 06 Aug 07 SHL fixme to know why + 6
    118 # ifdef FORTIFY
    119   Fortify_EnterScope();
    120 # endif
     112#     ifdef FORTIFY
     113      Fortify_EnterScope();
     114#      endif
    121115      pflArray = realloc(*list, (*pnumalloced + 6) * sizeof(FILELIST *));
    122116      if (!pflArray) {
     
    170164    if (((*pnumfiles) + 3) > *pnumalloced) {
    171165      // Use plain realloc for speed
    172 # ifdef FORTIFY
    173   Fortify_EnterScope();
    174 # endif
     166#     ifdef FORTIFY
     167      Fortify_EnterScope();
     168#      endif
    175169      ppsz = realloc(*list, (*pnumalloced + 6) * sizeof(CHAR *));
    176170      if (!ppsz) {
     
    223217    // Use plain realloc for speed
    224218
    225 # ifdef FORTIFY
    226   Fortify_EnterScope();
    227 # endif
     219#   ifdef FORTIFY
     220    Fortify_EnterScope();
     221#    endif
    228222    test = realloc(list, sizeof(CHAR *) * (numfiles + 1));
    229223    if (!test)
     
    277271          list = NULL;
    278272        }
    279 # ifdef FORTIFY
    280   Fortify_LeaveScope();
    281 # endif
     273#       ifdef FORTIFY
     274        Fortify_LeaveScope();
     275#        endif
    282276        break;
    283277      }
Note: See TracChangeset for help on using the changeset viewer.