[Mono-bugs] [Bug 35623][Nor] Changed - FileStream should not close handle it does not own
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 17 Feb 2003 11:13:16 -0500 (EST)
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 dick@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=35623
--- shadow/35623 Sat Dec 14 18:52:31 2002
+++ shadow/35623.tmp.26578 Mon Feb 17 11:13:16 2003
@@ -1,14 +1,14 @@
Bug#: 35623
Product: Mono/Class Libraries
Version: unspecified
OS: All
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: raymond@dotsphinx.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -31,6 +31,12 @@
protected virtual void Dispose (bool disposing) {
- if (handle != MonoIO.InvalidHandle) {
+ if (owner && handle != MonoIO.InvalidHandle) {
FlushBuffer ();
MonoIOError error;
+
+------- Additional Comments From dick@ximian.com 2003-02-17 11:13 -------
+Patch applied to CVS.
+
+Thanks.
+