Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If -d was 4, then it would match the fd of write_pipe, dup2 would be a no-op and the file descriptor wouldn't be inherited. Fixed by special casing fd == write_pipe.
- Loading branch information