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