[Mono-bugs] [Bug 56993][Wis] Changed - Mono should autoconvert '\' to '/' in pathnames

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 27 10:30:22 EDT 2005


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 kornelpal at hotmail.com.

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

--- shadow/56993	2005-06-27 10:15:45.000000000 -0400
+++ shadow/56993.tmp.20429	2005-06-27 10:30:22.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 56993
 Product: Mono: Runtime
 Version: unspecified
 OS: All
 OS Details: Unix
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: sam_bravard at yahoo.com               
 QAContact: mono-bugs at ximian.com
@@ -110,6 +110,22 @@
 
 ------- Additional Comments From bmaurer at users.sf.net  2005-06-02 21:12 -------
 *** Bug 75127 has been marked as a duplicate of this bug. ***
 
 ------- Additional Comments From bmaurer at users.sf.net  2005-06-27 10:15 -------
 *** Bug 75391 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From kornelpal at hotmail.com  2005-06-27 10:30 -------
+Path separators are part of file system and/or operating system 
+specifications. Neither Mono nor .NET Framework should change path 
+separators as they are doing this currently.
+
+It's the applications responsibility to be platform independent just 
+like the runtime.
+
+You can (and should) use Path.Combine to combine two paths because 
+it takes care about using the right path separator, does not append 
+a second path separator if path1 ends with a path separator and 
+returns path2 it it's an absolute path.
+
+You can (and should) use Path.PathSeparator instead of \ or / when 
+building paths without Path.Combine.


More information about the mono-bugs mailing list