Skip to content

Commit 6b70689

Browse files
jcowgillbradfitz
authored andcommitted
unix: add missing dup2 syscall on mips64*
After this commit the testsuite passes on mips64le. Fixes golang/go#20340. Change-Id: I6b3f673674af107fd6d249ccf5e695e0e50a41bb Reviewed-on: https://go-review.googlesource.com/43430 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
1 parent 1e4778a commit 6b70689

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

unix/syscall_linux_mips64x.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
package unix
99

10+
//sys Dup2(oldfd int, newfd int) (err error)
1011
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
1112
//sys Fchown(fd int, uid int, gid int) (err error)
1213
//sys Fstatfs(fd int, buf *Statfs_t) (err error)

unix/zsyscall_linux_mips64.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zsyscall_linux_mips64le.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)