Changeset 1555
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/filldir.c
r1553 r1555 264 264 } // if StubbyScan 265 265 ProcessDirCount++; 266 DbgMsg(pszSrcFile, __LINE__, "ProcessDirCount %i FixedVolume %i",267 ProcessDirCount, FixedVolume);266 //DbgMsg(pszSrcFile, __LINE__, "ProcessDirCount %i FixedVolume %i", 267 // ProcessDirCount, FixedVolume); 268 268 if (ProcessDirCount >= FixedVolume) { 269 269 DosReleaseMutexSem(hmtxScanning); … … 281 281 } 282 282 } 283 ProcessDirCount = 0; 284 FixedVolume = 0; 283 285 fInitialDriveScan = FALSE; 284 286 } -
trunk/dll/init.c
r1554 r1555 1111 1111 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 1112 1112 PCSZ_DOSCREATEMUTEXSEM); 1113 if (DosCreateMutexSem(NULL, &hmtxScanning, 0L, FALSE))1113 if (DosCreateMutexSem(NULL, &hmtxScanning, 0L, TRUE)) 1114 1114 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 1115 1115 PCSZ_DOSCREATEMUTEXSEM); -
trunk/dll/treecnr.c
r1553 r1555 793 793 } 794 794 else 795 *szFree = 0; 795 *szFree = 0; 796 //Show information on status line not shown in the tree container 796 797 driveserial[toupper(*pci->pszFileName) - 'A'] = volser.serial; 797 798 798 if (CheckDrive(toupper(*pci->pszFileName), FileSystem, &type) == -1 || 799 fShowFSTypeInTree) 799 800 strcpy(FileSystem, NullStr); 800 801 if (fShowDriveLabelInTree) … … 809 810 sprintf(s, 810 811 GetPString(fShowFSTypeInTree ? IDS_TREESTATUSSTART1TEXT : 811 fShowDriveLabelInTree 812 ? IDS_TREESTATUSSTART2TEXT : IDS_TREESTATUSSTARTTEXT), 813 toupper(*pci->pszFileName), FileSystem, 814 szTmpLabel, volser.serial, szFree); 812 fShowDriveLabelInTree ? IDS_TREESTATUSSTART2TEXT : 813 IDS_TREESTATUSSTARTTEXT), toupper(*pci->pszFileName), 814 FileSystem, szTmpLabel, volser.serial, szFree); 815 815 strcat(s, temp); 816 816 } … … 819 819 sprintf(&s[strlen(s)], 820 820 GetPString(fShowFSTypeInTree ? IDS_TREESTATUSSTART1TEXT : 821 fShowDriveLabelInTree 822 ? IDS_TREESTATUSSTART2TEXT : IDS_TREESTATUSSTARTTEXT), 823 toupper(*pci->pszFileName), FileSystem, 824 szTmpLabel, volser.serial, szFree); 821 fShowDriveLabelInTree ? IDS_TREESTATUSSTART2TEXT : 822 IDS_TREESTATUSSTARTTEXT), toupper(*pci->pszFileName), 823 FileSystem, szTmpLabel, volser.serial, szFree); 825 824 strcat(s, "]"); 826 825 } … … 1907 1906 1908 1907 DosRequestMutexSem(hmtxScanning, SEM_INDEFINITE_WAIT); 1908 DosQueryEventSem(hevTreeCnrScanComplete, &ulScanPostCnt); 1909 if (ulScanPostCnt < 1) 1910 return 0; 1909 1911 DosResetEventSem(hevTreeCnrScanComplete, &ulScanPostCnt); 1910 1912 if (fFollowTree)
Note:
See TracChangeset
for help on using the changeset viewer.