projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930ee11
)
mksysinfo.sh: Define Solaris zone_net_addr_t struct.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Wed, 8 Apr 2015 14:17:13 +0000
(14:17 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Wed, 8 Apr 2015 14:17:13 +0000
(14:17 +0000)
From Rainer Orth.
From-SVN: r221920
libgo/mksysinfo.sh
patch
|
blob
|
history
diff --git
a/libgo/mksysinfo.sh
b/libgo/mksysinfo.sh
index a977f56937b24d8584b0ba2065610b6b8e608f1a..c2e7c24974a603c77ef0bb7397c4984a35b2f553 100755
(executable)
--- a/
libgo/mksysinfo.sh
+++ b/
libgo/mksysinfo.sh
@@
-1273,4
+1273,9
@@
if ! grep 'const SizeofICMPv6Filter ' ${OUT} >/dev/null 2>&1; then
echo 'const SizeofICMPv6Filter = 32' >> ${OUT}
fi
+# 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 $?