[Mono-bugs] [Bug 78664][Maj] Changed - FileInfo.Delete() doesn't work on dangling symlinks

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 16 16:05:32 EDT 2006


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 joeshaw at novell.com.

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

--- shadow/78664	2006-06-16 16:04:24.000000000 -0400
+++ shadow/78664.tmp.6367	2006-06-16 16:05:32.000000000 -0400
@@ -22,6 +22,9 @@
 
 This is probably due to unlink(2) returning ENOENT on dangling symlinks.
 
 ------- Additional Comments From joeshaw at novell.com  2006-06-16 16:04 -------
 err, no, ENOENT is only returned if a portion of the path passed in is
 broken.  I think it should work otherwise.
+
+------- Additional Comments From joeshaw at novell.com  2006-06-16 16:05 -------
+File.Delete(), in which you pass in the full pathname, works.


More information about the mono-bugs mailing list