0-byte read request should not trigger eof error.

This commit is contained in:
Kelvin Sherlock 2019-08-17 10:33:12 -04:00
parent fa1f4623c9
commit 02629c4eee

View File

@ -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;
} }