summaryrefslogtreecommitdiff
path: root/src/update-utmp
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-12-16 21:03:36 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-12-18 12:17:20 +0100
commit6573ef05a3cbe15949acfbbf1ad03726068907bd (patch)
treecb3d38ce419ba37de77b8cb358e82883573d8e22 /src/update-utmp
parent1fc605b0e130149a44abfa38c33f4535cfe548ea (diff)
journal: keep per-JournalFile location info during iteration
In next_beyond_location() when we find a candidate entry in a journal file, save its location information in struct JournalFile. The purpose of remembering the locations of candidate entries is to be able to save work in the next iteration. This patch does only the remembering part. LOCATION_SEEK means the location identifies a candidate entry. When a winner is picked from among candidates, it becomes LOCATION_DISCRETE. LOCATION_TAIL here signifies we've iterated the file to the end (or the beginning in the case of reversed direction).
Diffstat (limited to 'src/update-utmp')
0 files changed, 0 insertions, 0 deletions