[Mono-bugs] [Bug 53290][Min] Changed - Move does not support directory as target
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 2 Feb 2004 08:06:29 -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 iain@mccoy.id.au.
http://bugzilla.ximian.com/show_bug.cgi?id=53290
--- shadow/53290 2004-02-02 07:47:50.000000000 -0500
+++ shadow/53290.tmp.19051 2004-02-02 08:06:29.000000000 -0500
@@ -54,6 +54,11 @@
The patch I just attached moves the check that raises the exception
from File.Create to FileStream, where it runs whenever mode is
FileMode.Create or FileMode.CreateNew.
This is fine because File.Create just does some fiddling, largely
argument checking, then creates a new FileStream with FileMode.Create
+
+------- Additional Comments From iain@mccoy.id.au 2004-02-02 08:06 -------
+Created an attachment (id=6587)
+put the file in the directory specified rather than throw an exception
+