Changeset 1063 for trunk/dll/grep.c
- Timestamp:
- Jul 11, 2008, 5:33:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/grep.c
r1039 r1063 278 278 # ifdef FORTIFY 279 279 Fortify_EnterScope(); 280 # endif280 # endif 281 281 grep = *(GREP *)arg; 282 282 *grep.stopflag = 0; // reset thread-killing flag … … 417 417 # ifdef FORTIFY 418 418 Fortify_LeaveScope(); 419 # endif419 # endif 420 420 DosPostEventSem(CompactSem); 421 421 } … … 617 617 DosFindClose(findHandle); 618 618 free(pffbArray); 619 # ifdef FORTIFY620 Fortify_LeaveScope();621 # endif619 # ifdef FORTIFY 620 Fortify_LeaveScope(); 621 # endif 622 622 return 1; 623 623 } … … 648 648 # ifdef FORTIFY 649 649 Fortify_LeaveScope(); 650 # endif650 # endif 651 651 return 0; 652 652 } … … 673 673 grep->toinsert = 0L; 674 674 grep->insertedbytes = 0L; 675 # ifdef FORTIFY676 Fortify_LeaveScope();677 # endif675 # ifdef FORTIFY 676 Fortify_LeaveScope(); 677 # endif 678 678 } 679 679 } … … 783 783 if (!grep->dir) { 784 784 free(grep->insertffb); 785 # ifdef FORTIFY786 Fortify_LeaveScope();787 # endif785 # ifdef FORTIFY 786 Fortify_LeaveScope(); 787 # endif 788 788 return FALSE; 789 789 } … … 799 799 if (!grep->dir) { 800 800 free(grep->insertffb[grep->toinsert]); 801 # ifdef FORTIFY802 Fortify_LeaveScope();803 # endif801 # ifdef FORTIFY 802 Fortify_LeaveScope(); 803 # endif 804 804 return FALSE; 805 805 } … … 1019 1019 } 1020 1020 free(input); 1021 # ifdef FORTIFY1022 Fortify_LeaveScope();1023 # endif1021 # ifdef FORTIFY 1022 Fortify_LeaveScope(); 1023 # endif 1024 1024 // DosSleep(1); // 07 Feb 08 SHL 1025 1025 } … … 1136 1136 } 1137 1137 free(buffer); 1138 # ifdef FORTIFY1139 Fortify_LeaveScope();1140 # endif1138 # ifdef FORTIFY 1139 Fortify_LeaveScope(); 1140 # endif 1141 1141 } 1142 1142 return CRC; … … 1162 1162 # ifdef FORTIFY 1163 1163 Fortify_LeaveScope(); 1164 # endif1164 # endif 1165 1165 } 1166 1166 … … 1512 1512 xfree(grep->dupesizes, pszSrcFile, __LINE__); 1513 1513 grep->dupesizes = NULL; 1514 # ifdef FORTIFY1515 Fortify_LeaveScope();1516 # endif1514 # ifdef FORTIFY 1515 Fortify_LeaveScope(); 1516 # endif 1517 1517 1518 1518 InitITimer(pitdSleep, 0); // Reset rate estimator … … 1629 1629 if (!info->name) { 1630 1630 free(info); 1631 # ifdef FORTIFY1632 Fortify_LeaveScope();1633 # endif1631 # ifdef FORTIFY 1632 Fortify_LeaveScope(); 1633 # endif 1634 1634 return FALSE; 1635 1635 }
Note:
See TracChangeset
for help on using the changeset viewer.