From af58d398548a9dd8ac70462c31ec742355bbf89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Sat, 15 Sep 2012 13:17:51 +0200 Subject: [PATCH] Noux: fix previous attempt of fixing SYSCALL_READ --- ports/src/noux/main.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ports/src/noux/main.cc b/ports/src/noux/main.cc index d82465b1c..aab5bf8e7 100644 --- a/ports/src/noux/main.cc +++ b/ports/src/noux/main.cc @@ -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: