projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put Time types in dcpomatic namespace.
[dcpomatic.git]
/
src
/
lib
/
file_group.cc
diff --git
a/src/lib/file_group.cc
b/src/lib/file_group.cc
index e18b9824e27181543ab271546ac6853d985f90a9..942eb435d87f081e38ef5e48bf53ea0e4dd3cdea 100644
(file)
--- 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]);
}