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

Make dup2() work if second file descriptor doesn't exist #34

Merged
merged 1 commit into from Jul 13, 2017

Conversation

@ids1024
Copy link
Member

@ids1024 ids1024 commented Jul 13, 2017

The code I was dealing with for some reason closed the second file descriptor before dup2, but that should be valid.

The ? here may be accidental, given the let _ =.

@jackpot51 jackpot51 merged commit 56ba795 into redox-os:master Jul 13, 2017
@jackpot51
Copy link
Member

@jackpot51 jackpot51 commented Jul 13, 2017

Thanks! That was dumb.

@ids1024 ids1024 deleted the ids1024:dup2 branch Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants