Changeset 1506 for trunk/dll/treecnr.c
- Timestamp:
- Apr 12, 2010, 12:36:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/treecnr.c
r1498 r1506 80 80 before scan completes 81 81 22 Nov 09 GKY Add LVM.EXE to partition submenu 82 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 82 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast 83 CHAR CONSTANT * as CHAR *. 84 11 Apr 10 GKY Fix drive tree rescan failure and program hang caused by event sem 85 never being posted 83 86 84 87 ***********************************************************************/ … … 649 652 temptop = fTopDir; 650 653 fTopDir = TRUE; 651 } 652 DosWaitEventSem(hevInitialCnrScanComplete, SEM_INDEFINITE_WAIT); 654 } 655 if (fInitialDriveScan) 656 DosWaitEventSem(hevInitialCnrScanComplete, SEM_INDEFINITE_WAIT); 653 657 ShowTreeRec(dcd->hwndCnr, (CHAR *)mp1, fCollapseFirst, TRUE); 654 658 PostMsg(hwndTree, WM_COMMAND, MPFROM2SHORT(IDM_UPDATE, 0), MPVOID); … … 3272 3276 WinSetWindowText(WinWindowFromID(hwndFrame, FID_TITLEBAR), "VTree"); 3273 3277 FixSwitchList(hwndFrame, "VTree"); 3278 fInitialDriveScan = FALSE; 3274 3279 DosPostEventSem(hevInitialCnrScanComplete); 3275 3280 DosCloseEventSem(hevInitialCnrScanComplete); 3276 fInitialDriveScan = FALSE;3277 3281 } 3278 3282 else {
Note:
See TracChangeset
for help on using the changeset viewer.