Commit 0fea993f by Ian Lance Taylor

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
parent 97d12d29
......@@ -25,7 +25,7 @@ type RawSockaddrAny struct {
Pad [96]int8
}
const SizeofSockaddrAny = 0x1c
const SizeofSockaddrAny = 0x6c
type SockaddrInet4 struct {
Port int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment