Closed zrweger closed 8 years ago
len(buf) can be < _chunksize near the end of the file, and the record's length can be larger, but less than _maxrecord.
In this situation, we can get an infinite loop where we're constantly hitting "shifting file offset forward".
len(buf) can be < _chunksize near the end of the file, and the record's length can be larger, but less than _maxrecord.
In this situation, we can get an infinite loop where we're constantly hitting "shifting file offset forward".