[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:04:24 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:03:38.000000000 -0400
+++ shadow/78664.tmp.6332	2006-06-16 16:04:24.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78664
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: joeshaw at novell.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -18,6 +18,10 @@
 
 If you have a FileInfo which points to a dangling symlink, the Delete()
 function doesn't remove the link.  Non-dangling links are correctly
 removed, however.
 
 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.


More information about the mono-bugs mailing list