2009-11-03 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Tue, 3 Nov 2009 05:34:06 +0000 (05:34 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 3 Nov 2009 05:34:06 +0000 (05:34 -0000)
commit71b0cb003eb14ee37383017d78f72537cd3b3871
tree0e5ef93cdc02728887ed7d8919579a7b865d6567
parent825bd04d5769e024c5a1f5a8fb0bc2029da7d930
2009-11-03  Miguel de Icaza  <miguel@novell.com>

* FileStream.cs: Check the return value of MonoIO.Write and handle
short-writes as those can happen when a FileStream is used on top
of a pipe on Unix.

Fixes bug: #531613, this should be backported to 2-4 and 2-6 after
some testing.

svn path=/trunk/mcs/; revision=145271
mcs/class/corlib/System.IO/ChangeLog
mcs/class/corlib/System.IO/FileStream.cs