Changeset 1799
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1782 r1799 106 106 06 Apr 14 GKY Removed all BZ/GZ checks 107 107 28 Jun 14 GKY Fix errors identified with CPPCheck; Fix retry to create workdir code 108 16 Mar 15 GKY Add semaphore hmtxFiltering to prevent freeing dcd while filtering. Prevents 109 a trap when FM2 is shutdown or the container is closed while arc 110 container is still populating 108 111 109 112 ***********************************************************************/ … … 2278 2281 WinSendMsg(dcd->hwndCnr, UM_CLOSE, MPVOID, MPVOID); 2279 2282 WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL); // 13 Apr 10 SHL Set NULL before freeing dcd 2283 DosRequestMutexSem(hmtxFiltering, SEM_INDEFINITE_WAIT); 2280 2284 free(dcd); 2285 DosReleaseMutexSem(hmtxFiltering); 2281 2286 # ifdef FORTIFY 2282 2287 Fortify_LeaveScope(); -
trunk/dll/collect.c
r1741 r1799 84 84 13 Dec 13 SHL CollectorCnrWndProc IDM_FILTER: avoid exception on missing fileName 85 85 22 Feb 14 GKY Fix warn readonly yes don't ask to work when recursing directories. 86 16 Mar 15 GKY Add semaphore hmtxFiltering to prevent freeing dcd while filtering. Prevents 87 a trap when FM2 is shutdown or the container is closed while collector 88 container is still populating 86 89 87 90 ***********************************************************************/ … … 1160 1163 FreeList(dcd->lastselection); 1161 1164 WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL); // 13 Apr 10 SHL Set NULL before freeing dcd 1165 DosRequestMutexSem(hmtxFiltering, SEM_INDEFINITE_WAIT); 1162 1166 free(dcd); 1167 DosReleaseMutexSem(hmtxFiltering); 1163 1168 # ifdef FORTIFY 1164 1169 Fortify_LeaveScope(); -
trunk/dll/treecnr.c
r1796 r1799 94 94 by RWS but I think the occasional extra blank directory or duplicating 95 95 directories is related. 96 16 Mar 15 GKY Add semaphore hmtxFiltering to prevent freeing dcd while filtering. Prevents 97 a trap when FM2 is shutdown or the container is closed while tree 98 container is still populating 96 99 97 100 ***********************************************************************/ … … 1012 1015 UM_CLOSE, MPFROMLONG(dcd->dontclose != FALSE), MPVOID); 1013 1016 WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL); // 13 Apr 10 SHL Set NULL before freeing dcd 1017 DosRequestMutexSem(hmtxFiltering, SEM_INDEFINITE_WAIT); 1014 1018 free(dcd); 1019 DosReleaseMutexSem(hmtxFiltering); 1015 1020 # ifdef FORTIFY 1016 1021 Fortify_LeaveScope();
Note:
See TracChangeset
for help on using the changeset viewer.