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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 16 16:03:38 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.6312	2006-06-16 16:03:38.000000000 -0400
@@ -0,0 +1,23 @@
+Bug#: 78664
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: joeshaw at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: FileInfo.Delete() doesn't work on dangling symlinks
+
+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.


More information about the mono-bugs mailing list