Lines 386-392
Link Here
|
386 |
//if (root == path) return path; |
386 |
//if (root == path) return path; |
387 |
|
387 |
|
388 |
// STEP 3: split the directories, this gets rid of consecutative "/"'s |
388 |
// STEP 3: split the directories, this gets rid of consecutative "/"'s |
389 |
string [] dirs = path.Split (DirectorySeparatorChar, AltDirectorySeparatorChar); |
389 |
string [] dirs = path.Split (DirectorySeparatorChar); |
390 |
// STEP 4: Get rid of directories containing . and .. |
390 |
// STEP 4: Get rid of directories containing . and .. |
391 |
int target = 0; |
391 |
int target = 0; |
392 |
|
392 |
|