syscall: make linux Dup2 match other systems
You could argue for changing all the others, but Linux is outvoted, and the only time it matters is when newfd==-1, in which case you can call Dup. R=golang-dev, r CC=golang-dev https://golang.org/cl/5650073
Showing
Please register or sign in to comment