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

Fix build for Arch #55

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Fix build for Arch #55

merged 3 commits into from
Aug 23, 2023

Conversation

jack-ullery
Copy link
Owner

This fixes issue #53.

For some reason, initializing combobox_options with braces led to a compilation error on Arch-based distributions. I think this might have something to do with the version of clang Arch uses, but I am not sure. Regardless, using parenthesis to construct the field fixed the issue.

I also found and fixed another Arch specific error when testing. It seems ps can sometimes return an underscore for "context" when a process is unconfined. This was leading to an issue when using regular exceptions to parse its output. I fixed the issue and made the regex parsing more resilient to exceptions.

jack-ullery and others added 3 commits August 22, 2023 21:44
this fixes a compilation error that (for some reason) seems to be local to Arch distros. I think it has something to do with the current version of clang in the Arch community repos.
@jack-ullery
Copy link
Owner Author

Well, the code auto-formatter made a bunch of changes that are not related to this PR too. That's what I get for pushing changes directly to main earlier.

@jack-ullery jack-ullery merged commit ba7193d into main Aug 23, 2023
@jack-ullery jack-ullery mentioned this pull request Aug 23, 2023
@jack-ullery jack-ullery deleted the issue-53 branch September 22, 2023 19:58
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.

1 participant