Skip to content

fix journalctl regression (#15099) - #15100

Merged
yuwata merged 1 commit into
systemd:masterfrom
georgmu:fix-journalctl-regression
Mar 13, 2020
Merged

yuwata merged 1 commit into
systemd:masterfrom
georgmu:fix-journalctl-regression

Conversation

@georgmu

@georgmu georgmu commented Mar 12, 2020

Copy link
Copy Markdown
Contributor

This regression was introduced in #14913.

The current_file variable can be NULL, as, for example, with the
following commands:

  • journalctl --list-boots
  • journalctl -b -1 --no-pager

Since current_file is only checked for pointer equality with f, removing
the assertion is safe here.

This regression was introduced in #14913.

The current_file variable can be NULL, as, for example, with the
following commands:

* journalctl --list-boots
* journalctl -b -1 --no-pager

Since current_file is only checked for pointer equality with f, removing
the assertion is safe here.
@anitazha anitazha added the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Mar 12, 2020
@anitazha

Copy link
Copy Markdown
Member

LGTM. Thanks for the fix!

@anitazha anitazha linked an issue Mar 12, 2020 that may be closed by this pull request
@yuwata yuwata added the journal label Mar 13, 2020
@yuwata
yuwata merged commit 8d0726f into systemd:master Mar 13, 2020
@georgmu
georgmu deleted the fix-journalctl-regression branch March 13, 2020 07:28
@keszybz keszybz removed the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Regression after merging #14913

4 participants