Changeset 1506 for trunk/dll/mainwnd2.c


Ignore:
Timestamp:
Apr 12, 2010, 12:36:53 AM (15 years ago)
Author:
Gregg Young
Message:

Fixed hang and drive tree rescan failure resulting from event sem not being posted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd2.c

    r1498 r1506  
    3939                one or more miniapp but not to FM/2
    4040  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
     41  11 Apr 10 GKY Fix drive tree rescan failure and program hang caused by event sem
     42                never being posted
    4143
    4244***********************************************************************/
     
    605607    fTileBackwards = (fTileBackwards) ? FALSE : TRUE;
    606608    PrfWriteProfileData(fmprof,
    607                         (CHAR *) FM3Str,
     609                        FM3Str,
    608610                        "TileBackwards",
    609611                        (PVOID) & fTileBackwards, sizeof(BOOL));
     
    887889      pd->hwndDir2 = StartDirCnr(hwnd, s, (HWND) 0, 3);
    888890      if (fInitialDriveScan) {
     891        fInitialDriveScan = FALSE;
    889892        DosPostEventSem(hevInitialCnrScanComplete);
    890893        DosCloseEventSem(hevInitialCnrScanComplete);
    891         fInitialDriveScan = FALSE;
    892894      }
    893895      WinSetFocus(HWND_DESKTOP, pd->hwndCurr);
Note: See TracChangeset for help on using the changeset viewer.