[Mono-bugs] [Bug 74732][Blo] Changed - Sharing/Access violation after exiting a running mono app with an open StreamWriter (SVN checkouts)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 28 Apr 2005 17:09:00 -0400 (EDT)


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 flashdict@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74732

--- shadow/74732	2005-04-28 14:06:08.000000000 -0400
+++ shadow/74732.tmp.1835	2005-04-28 17:09:00.000000000 -0400
@@ -168,6 +168,16 @@
 
 
 ------- Additional Comments From flashdict@gmail.com  2005-04-28 14:06 -------
 Created an attachment (id=15028)
 Proposed patch - tests ok
 
+
+------- Additional Comments From flashdict@gmail.com  2005-04-28 17:09 -------
+Attaching an improved patch.  This handles the case where the file was
+opened in shared mode, then the process crashes and is restarted, then
+we set the pid to the new process's pid, instead of reusing the handle
+unchanged, which could lead to overwrites.
+
+
+
+