OSDN Git Service

mksysinfo: Fix use of _in6_addr in _zone_net_addr_t.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Mar 2012 23:19:22 +0000 (23:19 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Mar 2012 23:19:22 +0000 (23:19 +0000)
From Rainer Orth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185939 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/mksysinfo.sh

index 6d33e6c..5b04e9f 100755 (executable)
@@ -938,4 +938,9 @@ grep '^type _sock_fprog ' gen-sysinfo.go | \
       -e 's/_sock_filter/SockFilter/' \
     >> ${OUT}
 
       -e 's/_sock_filter/SockFilter/' \
     >> ${OUT}
 
+# The Solaris 11 Update 1 _zone_net_addr_t struct.
+grep '^type _zone_net_addr_t ' gen-sysinfo.go | \
+    sed -e 's/_in6_addr/[16]byte/' \
+    >> ${OUT}
+
 exit $?
 exit $?