Maintenance.

This commit is contained in:
Marcel Keller
2020-05-08 21:41:58 +10:00
parent 51e814cc62
commit 4ef6b6d873
265 changed files with 2674 additions and 6880 deletions

View File

@@ -22,6 +22,8 @@ void BufferBase::setup(ifstream* f, int length, string filename,
void BufferBase::seekg(int pos)
{
if (not file)
file = open();
file->seekg(pos * tuple_length);
if (file->eof() || file->fail())
{