]> Cypherpunks repositories - gostls13.git/commit
syscall: Fix generator for Linux syscalls.
authorBenoit Sigoure <tsunanet@gmail.com>
Mon, 29 Feb 2016 05:30:32 +0000 (21:30 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 29 Feb 2016 17:28:00 +0000 (17:28 +0000)
commit21f2cb60eaf6636f66062585cce575af3e11edb5
tree8e51b76552faf6278a7a4ccb196a63575c6ed2bc
parent1df5183f4c6f90ab3ea6fc4a928d2e7d7f55ce3d
syscall: Fix generator for Linux syscalls.

In golang.org/cl/14449 the `getdents' system call got changed to use
_SYS_getdents as a layer of indirection instead of SYS_GETDENTS64 for
compatibility with mips64, but this broke mksyscall.pl, which then
died with with:
  syscall_linux.go:840: malformed //sys declaration

Change-Id: Icb61965d8730f6e81f9fb0fa28c7bab635470f09
Reviewed-on: https://go-review.googlesource.com/20051
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/mksyscall.pl