View | Details | Raw Unified
Collapse All | Expand All

(-) mcs-1.0.5-orig/class/corlib/System.IO/Path.cs (-1 / +1 lines)
 Lines 386-392    Link Here 
			//if (root == path) return path;
			//if (root == path) return path;
				
				
			// STEP 3: split the directories, this gets rid of consecutative "/"'s
			// STEP 3: split the directories, this gets rid of consecutative "/"'s
			string [] dirs = path.Split (DirectorySeparatorChar, AltDirectorySeparatorChar);
			string [] dirs = path.Split (DirectorySeparatorChar);
			// STEP 4: Get rid of directories containing . and ..
			// STEP 4: Get rid of directories containing . and ..
			int target = 0;
			int target = 0;