[Mono-bugs] [Bug 81707][Wis] New - locked file after closing xmlwriter
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue May 22 09:09:53 EDT 2007
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 adriaanvk at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81707
--- shadow/81707 2007-05-22 09:09:53.000000000 -0400
+++ shadow/81707.tmp.7456 2007-05-22 09:09:53.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 81707
+Product: Mono: Runtime
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: io-layer
+AssignedTo: dick at ximian.com
+ReportedBy: adriaanvk at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: locked file after closing xmlwriter
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. start following code and run it multiple times -> sharing locks appeares!
+System.IO.Stream s = new System.IO.FileStream("test.doc",
+System.IO.FileMode.Create);
+XmlWriter writer = XmlWriter.Create(s);
+//XmlWriter writer = XmlWriter.Create("test.doc");//NOT WORKING!! file is
+locked
+//close all here
+
+2.
+3.
+
+Actual Results:
+when using direct statement in xmlwriter(filename), the file is after
+closing the writer locked. When using a filestream, and close the
+filestream, the file is correctly unlocked
+
+Expected Results:
+file should be unlocked after closing xmlwriter
+
+How often does this happen?
+always
+
+Additional Information:
More information about the mono-bugs
mailing list