rzalamena
c82eb97e2b
Fix a possible bug that will happen with dup2() when oldd == newd. In that
case the dup2() would fail silently and the descriptor would remain with the CLOEXEC flag causing the exec*()d child process to have unexpected behavior. ok guenther@ |
8 years ago | |
---|---|---|
src | Fix a possible bug that will happen with dup2() when oldd == newd. In that | 8 years ago |