[Mono-bugs] [Bug 80737][Nor] Changed - Path.GetFullPath returns wrong results if mixing "/" and "\"

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 6 08:36:17 EST 2007

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.


--- shadow/80737	2007-02-06 07:01:11.000000000 -0500
+++ shadow/80737.tmp.25125	2007-02-06 08:36:17.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 80737
 Product: Mono: Class Libraries
 Version: 1.2
 OS: GNU/Linux [Other]
 OS Details: Ubuntu
-Status: NEW   
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: frederik.carlier at ugent.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -70,6 +70,15 @@
 ------- Additional Comments From frederik.carlier at ugent.be  2007-02-06 07:01 -------
 Created an attachment (id=18630)
 .NET Framework 2.0 output, running under Windows 2000
+------- Additional Comments From jonpryor at vt.edu  2007-02-06 08:36 -------
+'\' is a valid filename character under Linux, *not* a directory
+separator char, so "this\is\one\filename" is a valid Linux filename. 
+For that matter, "..\Resources\myfile.png" is a valid Linux filename,
+so Mono's output is correct.
+If you need '\' to be a directory separator character, set the
+MONO_IOMAP environment variable.  See: http://www.mono-project.com/IOMap.

More information about the mono-bugs mailing list