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

System.uname() - Swift 2.0 - Regression - Runtime crash using utsname() struct #18

Open
beltex opened this issue Jun 16, 2015 · 1 comment
Labels

Comments

@beltex
Copy link
Owner

beltex commented Jun 16, 2015

Can't see a way to get around this bug in pure Swift. Anything besides simply initing the struct seems to cause a crash at runtime. This affects the System.uname() method. Only option I can see for now is to call a C wrapper function, but I don't think its worth it. It will likely be fixed soon, as we should be getting new Xcode beta's at the usual 2 week cycle rate for the next while.

Ref: https://github.com/practicalswift/swift-compiler-crashes/pull/76

@beltex
Copy link
Owner Author

beltex commented Jul 22, 2015

Looks like this has been fixed in Xcode 7 Beta 4! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant