[Mono-bugs] [Bug 75688][Nor] Changed - The InStrRev method returns -1

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 2 11:23:47 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 rafaelteixeirabr at hotmail.com.

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

--- shadow/75688	2005-08-02 10:36:03.000000000 -0400
+++ shadow/75688.tmp.17277	2005-08-02 11:23:47.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 75688
 Product: Mono: Class Libraries
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: Fedora Core
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Normal
 Component: VB Runtime
 AssignedTo: rafaelteixeirabr at hotmail.com                            
 ReportedBy: spek at impaq.com.pl               
 QAContact: mono-bugs at ximian.com
@@ -34,6 +34,18 @@
 
 How often does this happen? 
 
 
 Additional Information:
 This bug is a detail information to the big #75555
+
+------- Additional Comments From rafaelteixeirabr at hotmail.com  2005-08-02 11:23 -------
+Path.DirectorySeparatorChar = "/" in Linux so InStrRev won't find
+anything that match in that Windows-style path. 
+
+Getting hid of such hardcoded non-portable paths/filenames and related
+assumptions are part of the small but still needed portability
+verification procedure to make sure your app runs as well in
+Mono/Non-Windows as with MS.NET/Windows.
+
+To avoid some of those problems when dealing with paths use
+System.IO.Path helper methods (to extract filenames, extensions, etc.).


More information about the mono-bugs mailing list