Skip to content

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

Ian Douglas Scott requested to merge ids1024:dup2 into master

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 _ =.

Merge request reports