Changeset 1864
- Timestamp:
- Aug 23, 2015, 7:11:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/flesh.c
r1863 r1864 36 36 07 Aug 15 SHL Rework to use AddFleshWorkRequest rather than direct calls to Stubby/Flesh/Unflesh 37 37 19 Aug 15 SHL Allow WaitFleshWorkListEmpty to wait for dependent items 38 23 Aug 15 GKY Fixed code to notify on drive with no subdirectories in first 64 entries 38 39 39 40 ***********************************************************************/ … … 494 495 goto None; // Done 495 496 } 497 496 498 497 499 if (!rc) { … … 601 603 } 602 604 } // if isadir 603 else if (toupper(*wildcard) > 'B' && wildcard[1] == ':' && wildcard[2] == '\\' && 604 !wildcard[3]) { 605 606 // 2015-08-19 SHL FIXME to know how this can happen since wildcard ends with * 607 // Is root and no subdirectories 608 CHAR s[162]; 609 DbgMsg(pszSrcFile, __LINE__, "Stubby !isadir for %s", wildcard); // 2015-08-19 SHL FIXME debug 610 sprintf(s, 611 GetPString(IDS_NOSUBDIRS2TEXT), 612 nm, 613 toupper(*pciParent->pszFileName), 614 isremote ? GetPString(IDS_NOSUBDIRS3TEXT) : NullStr); 615 Notify(s); 616 } 617 } 605 } 606 } // if !rc 607 else if (toupper(*wildcard) > 'B' && wildcard[1] == ':' && wildcard[2] == '\\' && 608 wildcard[3] == '*' && !wildcard[4]) { 609 // Is root and no subdirectories 610 CHAR s[162]; 611 612 sprintf(s, 613 GetPString(IDS_NOSUBDIRS2TEXT), 614 nm, 615 toupper(*pciParent->pszFileName), 616 isremote ? GetPString(IDS_NOSUBDIRS3TEXT) : NullStr); 617 Notify(s); 618 618 } 619 619 else if (toupper(*wildcard) > 'B' && rc != ERROR_NO_MORE_FILES) { … … 784 784 } 785 785 c = strlen(((PFLESHWORKITEM)item)->pci->pszFileName); 786 return strncmp(((PFLESHWORKITEM)item)->pci->pszFileName, (PCSZ)data, c) == 0;786 return FALSE; //strncmp(((PFLESHWORKITEM)item)->pci->pszFileName, (PCSZ)data, c) == 0; 787 787 } 788 788
Note:
See TracChangeset
for help on using the changeset viewer.