From 0fea993fa88a6cd9e514a13838a863cbbbabacdf Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor <ian@gcc.gnu.org>
Date: Mon, 25 Nov 2013 22:54:05 +0000
Subject: [PATCH] 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
---
 libgo/go/syscall/socket.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgo/go/syscall/socket.go b/libgo/go/syscall/socket.go
index 29c70559ccee..f4dba36908eb 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
-- 
GitLab