Changeset 517 for trunk/dll/comp.c
- Timestamp:
- Nov 2, 2006, 9:51:38 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/comp.c
r448 r517 21 21 29 Jul 06 SHL Use xfgets_bstripcr 22 22 15 Aug 06 SHL Turn off hide not selected on dir change 23 19 Oct 06 SHL Correct . and .. detect 23 24 24 25 ***********************************************************************/ … … 99 100 fb->attrFile, 100 101 (fb->cbList > 4L) ? (fb->cbList / 2L) : 0L); 101 else if(recurse && (*fb->achName != '.' || 102 (fb->achName[1] && fb->achName[1] != '.'))) 102 // Skip . and .. 103 else if (recurse && 104 (fb->achName[0] != '.' || 105 (fb->achName[1] && 106 (fb->achName[1] != '.' || fb->achName[2])))) { 103 107 SnapShot(mask,fp,recurse); 108 } 104 109 nm = 1L; 105 110 } while(!DosFindNext(hdir,fb,sizeof(FILEFINDBUF4),&nm)); … … 688 693 pffb = (FILEFINDBUF4 *)fb; 689 694 if(pffb->attrFile & FILE_DIRECTORY) { 690 if(recurse && (*pffb->achName != '.' && (pffb->achName[1] && 691 pffb->achName[1] != '.'))) { 695 // Skip . and .. 696 if (recurse && 697 (pffb->achName[0] != '.' || 698 (pffb->achName[1] && 699 (pffb->achName[1] != '.' || pffb->achName[2])))) { 692 700 if(fForceUpper) 693 701 strupr(pffb->achName);
Note:
See TracChangeset
for help on using the changeset viewer.