Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize verifyFlags for specialdir #656

Merged
merged 1 commit into from Apr 8, 2019

Conversation

bmwiedemann
Copy link
Contributor

Initialize verifyFlags for specialdir, because
FileEntryFree(&fl->cur) zeroed all fields, including verifyFlags, so we have to fill them again.

Closes issue #655

Note: only slightly tested

FileEntryFree(&fl->cur) zeroed all fields, so we have to fill them again.

Closes issue rpm-software-management#655
@pmatilai pmatilai self-requested a review April 8, 2019 08:44
@pmatilai
Copy link
Contributor

pmatilai commented Apr 8, 2019

The pre-existing line seemed looked a little odd there so I dug up history a bit. The line added here was intentionally removed (instead of fixing the typo) in commit bde88ad, but I'm not so sure about the rationale now: current flags are copied everywhere else so why not here?

Anyway, this clearly fixes the verify flags thing, doesn't affect anything else that I can see, and makes things more consistent so it's probably the right thing to do.

Copy link
Contributor

@pmatilai pmatilai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I said above...

@pmatilai pmatilai merged commit 9668639 into rpm-software-management:master Apr 8, 2019
@pmatilai
Copy link
Contributor

pmatilai commented Apr 8, 2019

Oh and thanks for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants