Changeset 1038 for trunk/dll/comp.c
- Timestamp:
- Jul 4, 2008, 10:33:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/comp.c
r1036 r1038 201 201 hab2 = WinInitialize(0); 202 202 if (hab2) { 203 hmq2 = WinCreateMsgQueue(hab2, 0);204 if (hmq2) {205 203 # ifdef FORTIFY 206 204 Fortify_EnterScope(); 207 205 # endif 206 hmq2 = WinCreateMsgQueue(hab2, 0); 207 if (hmq2) { 208 208 WinCancelShutdown(hmq2, TRUE); 209 209 IncrThreadUsage(); … … 316 316 WinTerminate(hab2); 317 317 # ifdef FORTIFY 318 Fortify_LeaveScope( pszSrcFile, __LINE__);318 Fortify_LeaveScope(); 319 319 # endif 320 320 } … … 408 408 hab = WinInitialize(0); 409 409 if (hab) { 410 hmq = WinCreateMsgQueue(hab, 0);411 if (hmq) {412 410 # ifdef FORTIFY 413 411 Fortify_EnterScope(); 414 412 # endif 413 hmq = WinCreateMsgQueue(hab, 0); 414 if (hmq) { 415 415 WinCancelShutdown(hmq, TRUE); 416 416 IncrThreadUsage(); … … 694 694 WinTerminate(hab); 695 695 # ifdef FORTIFY 696 Fortify_LeaveScope( pszSrcFile, __LINE__);696 Fortify_LeaveScope(); 697 697 # endif 698 698 } … … 720 720 hab = WinInitialize(0); 721 721 if (hab) { 722 hmq = WinCreateMsgQueue(hab, 0);723 if (hmq) {724 722 # ifdef FORTIFY 725 723 Fortify_EnterScope(); 726 724 # endif 725 hmq = WinCreateMsgQueue(hab, 0); 726 if (hmq) { 727 727 WinCancelShutdown(hmq, TRUE); 728 728 IncrThreadUsage(); … … 759 759 WinTerminate(hab); 760 760 # ifdef FORTIFY 761 Fortify_LeaveScope( pszSrcFile, __LINE__);761 Fortify_LeaveScope(); 762 762 # endif 763 763 } … … 1955 1955 1956 1956 if (x <= 0) { 1957 # ifdef FORTIFY1958 xfree(filesl[l++], pszSrcFile, __LINE__);1959 # else1960 1957 free(filesl[l++]); // Done with item on left 1961 # endif1962 1958 } 1963 1959 if (x >= 0) { 1964 # ifdef FORTIFY1965 xfree(filesr[r++], pszSrcFile, __LINE__);1966 # else1967 1960 free(filesr[r++]); // Done with item on right 1968 #endif1969 1961 } 1970 1962 // Ensure empty buffers point somewhere … … 2017 2009 if (filesl) { 2018 2010 for(; filesl[l]; l++) { 2019 # ifdef FORTIFY2020 xfree(filesl[l], pszSrcFile, __LINE__);2021 # else2022 2011 free(filesl[l]); 2023 # endif2024 2012 } 2025 2013 } … … 2033 2021 if (filesr) { 2034 2022 for (; filesr[r]; r++) { 2035 # ifdef FORTIFY2036 xfree(filesr[r], pszSrcFile, __LINE__);2037 # else2038 2023 free(filesr[r]); 2039 # endif2040 2024 } 2041 2025 } … … 2117 2101 2118 2102 # ifdef FORTIFY 2119 Fortify_LeaveScope( pszSrcFile, __LINE__);2103 Fortify_LeaveScope(); 2120 2104 # endif 2121 2105
Note:
See TracChangeset
for help on using the changeset viewer.