diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-07 01:02:47 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-13 18:51:11 +0200 |
| commit | e5277d4042b896c4b50c694fba0f1afb47337f45 (patch) | |
| tree | 774c47252813040503a256105466d249114c44b0 /src/lib/file_group.h | |
| parent | a6f1c4deaf0ddbf0197b286d0d5f1a107a487deb (diff) | |
Fix errors when over-reading a "large" amount from FileGroups on
Windows. I haven't been able to find any conclusive explanation for
why this stuff happens;
https://stackoverflow.com/questions/7241168/safe-maximum-number-of-records-read-by-fread
is one possible lead.
Diffstat (limited to 'src/lib/file_group.h')
| -rw-r--r-- | src/lib/file_group.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/file_group.h b/src/lib/file_group.h index 800d9a059..21499f563 100644 --- a/src/lib/file_group.h +++ b/src/lib/file_group.h @@ -52,6 +52,7 @@ private: /** Index of path that we are currently reading from */ mutable size_t _current_path; mutable FILE* _current_file; + mutable size_t _current_size; }; #endif |
