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 #164: Add Utmpx::is_active() as a workaround on BSD #165

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

starscouts
Copy link
Contributor

This pull request adds an is_active method to coreutils_core::os::utmpx::Utmpx that checks if the line (device name) exists on the system to work around a quirk of BSD systems discussed in #164.

I have also taken the liberty of bumping the version of the coreutils_core crate from 0.1.1 to 0.1.2.

Should any other change be needed, I will be happy to modify my pull request.

Copy link
Owner

@GrayJack GrayJack left a comment

Choose a reason for hiding this comment

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

LGTM

@starscouts
Copy link
Contributor Author

It appears none of these failing checks are due to the code I have added.

@GrayJack GrayJack merged commit 1d4c414 into GrayJack:dev Jul 2, 2024
10 of 21 checks passed
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.

2 participants