Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dircnrs.c
r1102 r1113 648 648 case UM_SETUP: 649 649 # ifdef FORTIFY 650 DbgMsg(pszSrcFile, __LINE__, "UM_SETUP hwnd %p TID %u", hwnd, GetTidForThread()); // 18 Jul 08 SHL fixme650 //DbgMsg(pszSrcFile, __LINE__, "UM_SETUP hwnd %p TID %u", hwnd, GetTidForThread()); // 18 Jul 08 SHL fixme 651 651 Fortify_EnterScope(); 652 652 # endif -
trunk/dll/dirsize.c
r1105 r1113 59 59 #include "errutil.h" // Dos_Error... 60 60 #include "strutil.h" // GetPString 61 #include "filldir.h" // EmptyCnr... 61 62 #include "fm3dll.h" 62 63 … … 363 364 pci->pszDisplayName = xstrdup(szBuf, pszSrcFile, __LINE__); 364 365 // use DisplayName for display hopefully fixes "strlen" trap 02 AUG 08 GKY 365 if (pci->pszDisplayName) 366 if (pci->pszDisplayName) { 367 # ifdef FORTIFY 368 Fortify_ChangeScope(pci->pszDisplayName, -1); 369 Fortify_ChangeScope(pci->pszFileName, -1); 370 # endif 366 371 WinSendMsg(hwndCnr, CM_INVALIDATERECORD, MPFROMP(&pci), MPFROM2SHORT(1, 0)); 372 } 367 373 isroot = FALSE; 368 374 } … … 1016 1022 case WM_DESTROY: 1017 1023 pState = INSTDATA(hwnd); 1024 EmptyCnr(hwnd); 1018 1025 if (pState) { 1019 1026 pState->chStopFlag = (BYTE)0xff; -
trunk/dll/filldir.c
r1104 r1113 1641 1641 } 1642 1642 1643 if (pci->pszDisplayName && 1644 pci->pszDisplayName != NullStr && 1645 pci->pszDisplayName != pci->pszFileName && 1646 pci->pszDisplayName != strrchr(pci->pszFileName, '\\') && 1647 pci->pszDisplayName != strrchr(pci->pszFileName, '\\') + 1) { 1648 psz = pci->pszDisplayName; 1649 pci->pszDisplayName = NULL; // for debug 1650 free(psz); 1651 } 1652 1643 1653 if (pci->pszFileName && pci->pszFileName != NullStr) { 1644 1654 psz = pci->pszFileName;
Note:
See TracChangeset
for help on using the changeset viewer.