Changeset 1756


Ignore:
Timestamp:
Mar 2, 2014, 11:23:55 PM (12 years ago)
Author:
Gregg Young
Message:

Speed up intial drive scans Ticket 528

Location:
trunk/dll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r1741 r1756  
    8484                copy, move and delete operations
    8585  22 Feb 14 GKY Fix warn readonly yes don't ask to work when recursing directories.
     86  02 Mar 14 GKY Speed up intial drive scans Ticket 528
    8687
    8788***********************************************************************/
     
    877878          WinSendMsg(hwndMain, UM_LOADFILE, MPVOID, MPVOID);
    878879      }
    879       if (!fInitialDriveScan && fSwitchTree && hwndTree) {
     880      while (fInitialDriveScan)
     881        DosSleep(100);
     882      if (fSwitchTree && hwndTree) {
    880883        // Keep drive tree in sync with directory container
    881884        PSZ pszTempDir = xstrdup(dcd->directory, pszSrcFile, __LINE__);
  • trunk/dll/filldir.c

    r1754 r1756  
    101101  02 Mar 14 GKY !didone for fFirstTime so the suggest code works again. Also clear out the
    102102                garbage that was appearing in the string.
     103  02 Mar 14 GKY Speed up intial drive scans Ticket 528
    103104
    104105***********************************************************************/
     
    286287    ProcessDirCount = 0;
    287288    FixedVolume = 0;
    288     fInitialDriveScan = FALSE;
     289    //fInitialDriveScan = FALSE;
    289290  }
    290291# ifdef FORTIFY
     
    17091710  DosSleep(16);                         // 05 Aug 07 GKY 33
    17101711  fDummy = FALSE;
     1712  fInitialDriveScan = FALSE;
    17111713  DosPostEventSem(CompactSem);
    17121714
Note: See TracChangeset for help on using the changeset viewer.