Fix 'noux_terminal_fs' test

Fixes #1213.
This commit is contained in:
Christian Prochaska
2014-07-22 19:43:44 +02:00
committed by Norman Feske
parent 1bc8de83ff
commit 72bb821990
2 changed files with 7 additions and 2 deletions

View File

@ -84,6 +84,11 @@ class Vfs::Terminal_file_system : public Single_file_system
return READ_OK;
}
Ftruncate_result ftruncate(Vfs_handle *vfs_handle, size_t) override
{
return FTRUNCATE_OK;
}
bool check_unblock(Vfs_handle *vfs_handle, bool rd, bool wr, bool ex) override
{
if (rd && (_terminal.avail() > 0))