]> Cypherpunks repositories - gostls13.git/commit
syscall: make linux Dup2 match other systems
authorRuss Cox <rsc@golang.org>
Mon, 13 Feb 2012 05:11:36 +0000 (00:11 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 13 Feb 2012 05:11:36 +0000 (00:11 -0500)
commit65ba8ee07e69d52a4452f3d3d7e2ffdb1ab79802
tree36a42456b7117bb07f5bc4c17441ca1b93d28e97
parent878153682ecac3fb00bdad50ff8dcc296e30a701
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
src/pkg/syscall/syscall_linux.go
src/pkg/syscall/zsyscall_linux_386.go
src/pkg/syscall/zsyscall_linux_amd64.go
src/pkg/syscall/zsyscall_linux_arm.go