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 pledge() usage and make test cases work properly on OpenBSD #862
Conversation
Unbreaks mosh on recent (> 2017/03/18) OpenBSD systems.
This problem was seen on OpenBSD 6.0.
This tests for OpenBSD 6.x or later. We could likely extend the test to much older OpenBSD versions, but not without OS installs and testing.
@cgull, what are the implications if we release 1.3.0 without this fix? Does Mosh still work on OpenBSD...? I'm a little unclear on what's broken in the current master. |
So, before these changes, mosh would build on any OpenBSD (but |
For testing the locale, I've realized that the better thing to do is write a wrapper program for our |
@cgull Honestly I'm inclined just to go with your recommendation on this one, but if you want my two cents, it seems like we may as well include this in 1.3.0 and credit our thorough release candidate process for catching this. :-) I'd rather that Mosh 1.3.0 work out-of-the-box on OpenBSD since they were kind enough to test our RC and report a bug. |
Hmm. The |
This is all pulled now. |
Tested on OpenBSD 6.0.
This might or might not make it into mosh 1.3.0, but if not will be committed immediately after release. I'm somewhat inclined to do this after release. Jeremie, would it be possible for you to do this in the OpenBSD port for this release? @keithw, do you have any opinion one way or another?