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

confusing error message getpwuid() #178

Closed
wants to merge 3 commits into from
Closed

Conversation

SegFault42
Copy link
Contributor

In issue #175 the function getpwuid() sets errno to zero while it returns null.
I think that in this case it is not necessary to display errno because it is confusing.

err(EXIT_FAILURE, "getpwuid() failed");
else
Copy link
Member

Choose a reason for hiding this comment

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

I don't really understand this change – this will now just always error.

@Airblader
Copy link
Member

Since this PR is quite old (sorry for the lack of feedback), small and seems like an odd change I will close for now. If you'd still like to make this change, feel free to comment on my concern above and we can reopen.

@Airblader Airblader closed this Apr 12, 2019
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