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

Do not hardcode errno values #64

Merged
merged 1 commit into from
Aug 13, 2016
Merged

Do not hardcode errno values #64

merged 1 commit into from
Aug 13, 2016

Conversation

pinotree
Copy link
Contributor

The actual values for system errnos are implementation details of each platform; instead, use the Python errno module to compare with the various constants.

The actual values for system errno's are implementation details of each
platform; instead, use the Python errno module to compare with the
various constants.
@tfoote
Copy link
Member

tfoote commented Aug 13, 2016

+1

Out of curiosity do you have a platform that uses a different value, or did you just notice this when reviewing the code?

@pinotree
Copy link
Contributor Author

Out of curiosity do you have a platform that uses a different value, or did you just notice this when reviewing the code?

It was on (Debian) Hurd, actually.

@dirk-thomas
Copy link
Member

Thank you for the patch.

@dirk-thomas dirk-thomas merged commit d8853e6 into ros:indigo-devel Aug 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants