Fix errors when over-reading a "large" amount from FileGroups on
authorCarl Hetherington <cth@carlh.net>
Tue, 6 Oct 2020 23:02:47 +0000 (01:02 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 13 Oct 2020 16:51:11 +0000 (18:51 +0200)
commite5277d4042b896c4b50c694fba0f1afb47337f45
tree774c47252813040503a256105466d249114c44b0
parenta6f1c4deaf0ddbf0197b286d0d5f1a107a487deb
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.
src/lib/file_group.cc
src/lib/file_group.h