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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 20 Apr 2005 11:43:11 -0400 (EDT)

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 lupus@ximian.com.


--- shadow/56993	2005-01-12 18:15:44.000000000 -0500
+++ shadow/56993.tmp.10734	2005-04-20 11:43:11.000000000 -0400
@@ -3,13 +3,13 @@
 Version: unspecified
 OS: All
 OS Details: Unix
 Status: NEW   
 Severity: Unknown
-Priority: Normal
+Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: sam_bravard@yahoo.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -90,6 +90,20 @@
 ------- Additional Comments From joeshaw@novell.com  2005-01-12 18:15 -------
 The flip side, as I mention in bug #71214, is that the backslash is
 valid character in unix, and if it's transparently changed (as it is
 already in some cases), it causes problems because it's thought to be
 a path separator when really it's a part of the file name.
+------- Additional Comments From lupus@ximian.com  2005-04-20 11:43 -------
+I don't think that autoconverting '\' to '/' in paths is a wise move.
+Same with the auto case-insensitive file handling.
+It's true that such an hack may enable broken code written for windows
+to run on other platforms, but it will also make correct code behave
+incorrectly on Linux, for example.
+We could implement the behaviour only when an option is provided or an
+env var is set, but this is fragile, too: when an app is made of more
+than one component, it may hide the bug in one component and make the
+correct code misbehave in another.
+Changing to whishlist, but should be really notabug: if we have to add
+workarounds for every broken piece of code that happens to work on
+windows, mono will become a mess of unmaintainable code.