diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-26 11:39:48 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-26 12:00:49 +0200 |
commit | bee6a29198e7c8f6636aafece9a42c97435d171e (patch) | |
tree | f5540a2a918be54faf249649b1004720acafc664 /src/test/test-time.c | |
parent | caeab8f626e709569cc492b75eb7e119076059e7 (diff) |
journal-file: make seeking in corrupted files work
Previously, when we used a bisection table for seeking through a corrupted
file, and the end of the bisection table was corrupted we'd most likely fail
the entire seek operation. Improve the situation: if we encounter invalid
entries in a bisection table, linearly go backwards until we find a working
entry again.
Diffstat (limited to 'src/test/test-time.c')
0 files changed, 0 insertions, 0 deletions