[Mono-bugs] [Bug 50753][Min] Changed - System.IO.Directory.CreateDirectory() does not throws an exception

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 14 Nov 2003 01:11:04 -0500 (EST)

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 rkumar@novell.com.


--- shadow/50753	2003-11-09 12:43:56.000000000 -0500
+++ shadow/50753.tmp.6623	2003-11-14 01:11:04.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 50753
 Product: Mono/Class Libraries
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Minor
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: projects@saring.de               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -19,6 +19,12 @@
 The method System.IO.Directory.CreateDirectory() does not throw an
 exception when creating a directory, which allready exists as a file with
 the same name (tested on Linux and WinXP with Mono 0.28).
 I've tested it with MS .NET 1.1, it has the same behaviour. So it seems to
 be a problem there too :-).
+------- Additional Comments From rkumar@novell.com  2003-11-14 01:11 -------
+I did some investigation on this issue. I too found that .NET 1.1 and 
+Mono are behaving in same way. But, .NET 1.0 throws IOException when 
+you create a directory with a name by which a file already exists. 
+So, it depends on which version of .NET is correct.