[Mono-bugs] [Bug 583669] New: Path.GetDirectoryName() doesn't normalize / to \ on Windows
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Feb 26 08:26:11 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=583669
http://bugzilla.novell.com/show_bug.cgi?id=583669#c0
Summary: Path.GetDirectoryName() doesn't normalize / to \ on
Windows
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: All
OS/Version: Windows
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: jeroen at sumatra.nl
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; .NET CLR 1.1.4322; InfoPath.2; .NET4.0C; .NET4.0E)
On .NET Path.GetDirectoryName() normalizes / to \ in directory names.
Example:
Console.WriteLine(Path.GetDirectoryName("foo/bar"));
On .NET (on Windows) this prints foo\bar, while Mono (on Windows) prints
foo/bar.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list