Changeset 1063 for trunk/dll/makelist.c
- Timestamp:
- Jul 11, 2008, 5:33:36 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/dll/makelist.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/makelist.c
r1039 r1063 76 76 FreeList(li->list); 77 77 free(li); 78 # ifdef FORTIFY79 //Fortify_LeaveScope();80 # endif81 78 } 82 79 } … … 97 94 #endif 98 95 free(list); 99 # ifdef FORTIFY100 //Fortify_LeaveScope();101 # endif102 96 } 103 97 DosPostEventSem(CompactSem); … … 116 110 // Use plain realloc for speed 117 111 // 06 Aug 07 SHL fixme to know why + 6 118 # ifdef FORTIFY119 Fortify_EnterScope();120 # endif112 # ifdef FORTIFY 113 Fortify_EnterScope(); 114 # endif 121 115 pflArray = realloc(*list, (*pnumalloced + 6) * sizeof(FILELIST *)); 122 116 if (!pflArray) { … … 170 164 if (((*pnumfiles) + 3) > *pnumalloced) { 171 165 // Use plain realloc for speed 172 # ifdef FORTIFY173 Fortify_EnterScope();174 # endif166 # ifdef FORTIFY 167 Fortify_EnterScope(); 168 # endif 175 169 ppsz = realloc(*list, (*pnumalloced + 6) * sizeof(CHAR *)); 176 170 if (!ppsz) { … … 223 217 // Use plain realloc for speed 224 218 225 # ifdef FORTIFY226 Fortify_EnterScope();227 # endif219 # ifdef FORTIFY 220 Fortify_EnterScope(); 221 # endif 228 222 test = realloc(list, sizeof(CHAR *) * (numfiles + 1)); 229 223 if (!test) … … 277 271 list = NULL; 278 272 } 279 # ifdef FORTIFY280 Fortify_LeaveScope();281 # endif273 # ifdef FORTIFY 274 Fortify_LeaveScope(); 275 # endif 282 276 break; 283 277 }
Note:
See TracChangeset
for help on using the changeset viewer.
