[Mono-bugs] [Bug 78580][Nor] Changed - UnixSymbolicLinkInfo.Content fails with relative symlink

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 2 16:28:00 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jonpryor at vt.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=78580

--- shadow/78580	2006-07-02 15:38:45.000000000 -0400
+++ shadow/78580.tmp.10843	2006-07-02 16:28:00.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 78580
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Mono.POSIX
 AssignedTo: miguel at ximian.com                            
 ReportedBy: cpinto at yimports.com               
 QAContact: mono-bugs at ximian.com
@@ -109,6 +109,16 @@
 
 Notice that the 2nd line is wrong.  This is due to a bug in UnixPath,
 in which UnixPath.Combine ("/a", "/b") returns "/a/b" instead of "/b"
 (which is what System.IO.Path.Combine would do).
 
 Do you need a fix for the 1.1.13 branch?  Or can you migrate to HEAD?
+
+------- Additional Comments From jonpryor at vt.edu  2006-07-02 16:28 -------
+Fixed in svn-HEAD:
+
+2006-07-02  Jonathan Pryor  <jonpryor at vt.edu>
+  * UnixPath.cs: Follow .NET's System.IO.Path.Combine() behavior, and 
+    "reset" the generated path if any argument beings with a path root 
+    -- UnixPath.Combine("/a", "/b") should return "/b", not "/a/b".
+    Fixes #78580.
+


More information about the mono-bugs mailing list