http://bugzilla.novell.com/show_bug.cgi?id=586240
http://bugzilla.novell.com/show_bug.cgi?id=586240#c0 Summary: Directory.CreateDirectory() creates a directory with wrong name when there are whitespaces on Windows Classification: Mono Product: Mono: Class Libraries Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: CORLIB AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- On Windows, Directory.CreateDirectory() fails to create the expected directory by the argument. It somehow breaks at its first whitespace character. For example, CreateDirectory("my documents") results in "my" directory. //---- repro ---- using System; using System.IO; public class Test { public static void Main (string [] args) { foreach (var path in args) { if (!Directory.Exists (path)) Directory.CreateDirectory (path); } } } -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
