Noux: fix previous attempt of fixing SYSCALL_READ

This commit is contained in:
Josef Söntgen 2012-09-15 13:17:51 +02:00 committed by Norman Feske
parent 8ed489c4bc
commit af58d39854

View File

@ -162,11 +162,7 @@ bool Noux::Child::syscall(Noux::Session::Syscall sc)
while (!io->check_unblock(true, false, false))
_block_for_io_channel(io);
io->read(_sysio);
if (_sysio->read_out.count == -1)
return false;
return true;
return io->read(_sysio);
}
case SYSCALL_FTRUNCATE: