mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-21 09:30:55 +00:00
0-byte read request should not trigger eof error.
This commit is contained in:
parent
fa1f4623c9
commit
02629c4eee
@ -511,7 +511,7 @@ namespace OS
|
|||||||
memoryWriteLong(count, parm + 40);
|
memoryWriteLong(count, parm + 40);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count == 0)
|
if (count == 0 && ioReqCount > 0)
|
||||||
{
|
{
|
||||||
d0 = MacOS::eofErr;
|
d0 = MacOS::eofErr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user