projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d12d2
)
syscall: Set SizeofSockaddrAny to the value the go distribution uses
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 25 Nov 2013 22:54:05 +0000
(22:54 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
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
/
From-SVN: r205368
libgo/go/syscall/socket.go
patch
|
blob
|
history
diff --git
a/libgo/go/syscall/socket.go
b/libgo/go/syscall/socket.go
index
29c7055
..
f4dba36
100644
(file)
--- a/
libgo/go/syscall/socket.go
+++ b/
libgo/go/syscall/socket.go
@@
-25,7
+25,7
@@
type RawSockaddrAny struct {
Pad [96]int8
}
-const SizeofSockaddrAny = 0x
1
c
+const SizeofSockaddrAny = 0x
6
c
type SockaddrInet4 struct {
Port int