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

Don't check the errno value from isatty. #468

Merged
merged 1 commit into from Dec 1, 2022

Conversation

sunfishcode
Copy link
Member

We don't actually do anything different for different errno values, other than panic on unknown ones, and that isn't that isn't adding much value compared to the cost of being an extra surprise when porting to new OS's.

Fixes #467.

We don't actually do anything different for different errno values,
other than panic on unknown ones, and that isn't that isn't adding
much value compared to the cost of being an extra surprise when
porting to new OS's.

Fixes #467.
@sunfishcode sunfishcode merged commit ce30bd9 into main Dec 1, 2022
@sunfishcode sunfishcode deleted the sunfishcode/isatty-no-errno branch December 1, 2022 19:03
@ahl
Copy link

ahl commented Dec 5, 2022

Any chance we could get a new release with this PR included? Thanks!

sunfishcode added a commit that referenced this pull request Dec 5, 2022
We don't actually do anything different for different errno values,
other than panic on unknown ones, and that isn't that isn't adding
much value compared to the cost of being an extra surprise when
porting to new OS's.

Fixes #467.
sunfishcode added a commit that referenced this pull request Dec 5, 2022
We don't actually do anything different for different errno values,
other than panic on unknown ones, and that isn't that isn't adding
much value compared to the cost of being an extra surprise when
porting to new OS's.

Fixes #467.
@sunfishcode
Copy link
Member Author

This is now released in 0.36.5!

@sunshowers
Copy link

Thanks @sunfishcode!

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.

isatty is not required to set errno
3 participants