de7883024b
`sd_journal_seek_tail()` is supposed to seek to the logical end of the journal, i.e. (always) after the last entry. A call to `sd_journal_previous()` is needed to seek to the last entry, so that `sd_journal_next()` can be called successfully in `find_in_journal()`. Without it, the journal would always stay at the end of the list of entries, so further `sd_journal_next()` calls would fail as there are no entries after the last. See: * https://github.com/systemd/systemd/issues/25369 * https://github.com/systemd/systemd/pull/26577 |
||
---|---|---|
.. | ||
meson.build | ||
pwtest-compat.c | ||
pwtest-implementation.h | ||
pwtest.c | ||
pwtest.h | ||
test-array.c | ||
test-client.c | ||
test-config.c | ||
test-context.c | ||
test-example.c | ||
test-functional.c | ||
test-lib.c | ||
test-logger.c | ||
test-loop.c | ||
test-map.c | ||
test-properties.c | ||
test-pwtest.c | ||
test-spa-buffer.c | ||
test-spa-json.c | ||
test-spa-log.c | ||
test-spa-node.c | ||
test-spa-pod.c | ||
test-spa-utils.c | ||
test-support.c | ||
test-utils.c |