This patch to libgo fixes the type of the last field of Cmsghdr from []byte to [0]byte. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
diff -r abc9201b3ab0 libgo/mksysinfo.sh --- a/libgo/mksysinfo.sh Thu Feb 02 14:58:22 2012 -0800 +++ b/libgo/mksysinfo.sh Thu Feb 02 17:04:33 2012 -0800 @@ -507,6 +507,7 @@ -e 's/cmsg_len *[a-zA-Z0-9_]*/Len Cmsghdr_len_t/' \ -e 's/cmsg_level/Level/' \ -e 's/cmsg_type/Type/' \ + -e 's/\[\]/[0]/' \ >> ${OUT} # The size of the cmsghdr struct.