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
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ namespace OS
memoryWriteLong(count, parm + 40);
}
if (count == 0)
if (count == 0 && ioReqCount > 0)
{
d0 = MacOS::eofErr;
}