[Mono-bugs] [Bug 573477] FlushFileBuffers call invalidates safe file handle

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 3 18:50:34 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=573477

http://bugzilla.novell.com/show_bug.cgi?id=573477#c1


Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robertj at gmx.net

--- Comment #1 from Robert Jordan <robertj at gmx.net> 2010-03-03 23:50:33 UTC ---
I believe this is caused by the FileStream.SafeFileHandle property which
returns a new owned SafeFileHandle if the FileStream was not created from a
SafeFileHandle.

This means that the file might be prematurely closed if the new handle is
disposed.

The patch is just a workaround until the IO-layer is able to deal with
SafeFileHandles directly.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list