зеркало из https://github.com/mono/ikvm-fork.git
*** empty log message ***
This commit is contained in:
Родитель
7206c31ffc
Коммит
09625c4fc3
|
@ -530,6 +530,7 @@ public abstract class FileChannelImpl extends FileChannel
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if(false) throw new cli.System.IO.IOException();
|
if(false) throw new cli.System.IO.IOException();
|
||||||
|
stream.Flush();
|
||||||
return stream.ReadByte();
|
return stream.ReadByte();
|
||||||
}
|
}
|
||||||
catch(cli.System.IO.IOException x)
|
catch(cli.System.IO.IOException x)
|
||||||
|
@ -556,7 +557,8 @@ public abstract class FileChannelImpl extends FileChannel
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if(false) throw new cli.System.IO.IOException();
|
if(false) throw new cli.System.IO.IOException();
|
||||||
int count = stream.Read(buf, offset, len);
|
stream.Flush();
|
||||||
|
int count = stream.Read(buf, offset, len);
|
||||||
if(count == 0)
|
if(count == 0)
|
||||||
{
|
{
|
||||||
count = -1;
|
count = -1;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче