Skip to content

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

Description

@beltex

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions