mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
97d12d29aa
commit
0fea993fa8
|
|
@ -25,7 +25,7 @@ type RawSockaddrAny struct {
|
||||||
Pad [96]int8
|
Pad [96]int8
|
||||||
}
|
}
|
||||||
|
|
||||||
const SizeofSockaddrAny = 0x1c
|
const SizeofSockaddrAny = 0x6c
|
||||||
|
|
||||||
type SockaddrInet4 struct {
|
type SockaddrInet4 struct {
|
||||||
Port int
|
Port int
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue