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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
