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

Fix/dup syscall portability #638

Merged

Conversation

i-hate-nicknames
Copy link
Contributor

Did you run make format && make check?
Yes
Fixes:

  • Release build for arm64

Changes:

How to test this PR:
make test

dup2 syscall is absent on arm64 architecture, while dup3 is absent on darwin OS. This implements common function that has build-specific implementations

Copy link
Member

@jdknives jdknives left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine on MacOS. Will test later on ARM.

@jdknives jdknives merged commit a4717c9 into skycoin:develop Dec 19, 2020
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.

2 participants