syscall: Set SizeofSockaddrAny to the value the go distribution uses
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Nov 2013 22:54:05 +0000 (22:54 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Nov 2013 22:54:05 +0000 (22:54 +0000)
In particular this means that the names Getsockname returns are not
truncated to 26 characters.

Fixes issue 6829

https://codereview.appspot.com/31840043/

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205368 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/go/syscall/socket.go

index 29c7055..f4dba36 100644 (file)
@@ -25,7 +25,7 @@ type RawSockaddrAny struct {
        Pad  [96]int8
 }
 
-const SizeofSockaddrAny = 0x1c
+const SizeofSockaddrAny = 0x6c
 
 type SockaddrInet4 struct {
        Port int