Skip to content

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

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

Merged
merged 1 commit into from
Jul 13, 2017
Merged

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

merged 1 commit into from
Jul 13, 2017

Conversation

ids1024
Copy link
Contributor

@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

Thanks! That was dumb.

@ids1024 ids1024 deleted the dup2 branch July 13, 2017 21:55
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