chiark / gitweb /
journal: when comparing two entries from separate files make sure we reposition the...
authorLennart Poettering <lennart@poettering.net>
Wed, 19 Sep 2012 07:56:00 +0000 (09:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 19 Sep 2012 07:58:34 +0000 (09:58 +0200)
commit468b21de7c9327bb8747d36e6273ed7aed97052a
tree3e52c52842fe5a4e2c01c0973579f54b7547585a
parenta99124d92f8a60215f5ea5ed95de9792c1fb3324
journal: when comparing two entries from separate files make sure we reposition the mmap window

The mmap cache doesn't guarantee that we can look at two files at the
same time. Hence make sure to look at the entries to compare one
after the other, instead of at the same time when comparing them, and
reposition the window in between.
src/journal/sd-journal.c