diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-11-25 22:54:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-11-25 22:54:05 +0000 |
commit | 0fea993fa88a6cd9e514a13838a863cbbbabacdf (patch) | |
tree | ac17617d8675238b05dbea412974802c975501ee /libgo/go/syscall | |
parent | 97d12d29aaf0502b243d7a39dc22bd7a8074b039 (diff) | |
download | gcc-0fea993fa88a6cd9e514a13838a863cbbbabacdf.tar.gz |
syscall: Set SizeofSockaddrAny to the value the go distribution uses
In particular this means that the names Getsockname returns are not
truncated to 26 characters.
Fixes issue 6829
https://codereview.appspot.com/31840043/
From-SVN: r205368
Diffstat (limited to 'libgo/go/syscall')
-rw-r--r-- | libgo/go/syscall/socket.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/syscall/socket.go b/libgo/go/syscall/socket.go index 29c70559cce..f4dba36908e 100644 --- a/libgo/go/syscall/socket.go +++ b/libgo/go/syscall/socket.go @@ -25,7 +25,7 @@ type RawSockaddrAny struct { Pad [96]int8 } -const SizeofSockaddrAny = 0x1c +const SizeofSockaddrAny = 0x6c type SockaddrInet4 struct { Port int |