From d60fd90a6e13c727a05b629c8c4b93d4bf3b717b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 19 Dec 2018 22:24:35 +0000 Subject: Let's not accept EAGAIN until we're sure it's possible. --- src/lib/file_group.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index e18b9824e..942eb435d 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -162,7 +162,7 @@ FileGroup::read (uint8_t* buffer, int amount) const break; } - if (ferror(_current_file) && errno != EAGAIN) { + if (ferror(_current_file)) { throw FileError (String::compose("fread error %1", errno), _paths[_current_path]); } -- cgit v1.2.3