diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-29 21:42:30 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-29 21:42:30 +0000 |
commit | 84a30a5291add53ca8bd25266603392d61fd648b (patch) | |
tree | ca2504de9f59af9d650eaa5555508488de85a99f /libgo | |
parent | 0ba102824cb7fd9190475a835b07f50b151b7fc2 (diff) | |
download | gcc-84a30a5291add53ca8bd25266603392d61fd648b.tar.gz |
syscall: Fix to libgo/mksysinfo.sh
In a recent change to mksysinfo.sh, a space was missing on
some lines which caused the libgo build to hang on some
systems. This corrects that problem.
Fixes golang/go#11924
Reviewed-on: https://go-review.googlesource.com/12835
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226366 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rwxr-xr-x | libgo/mksysinfo.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 029098ffaaf..942e8319ea5 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -1026,19 +1026,19 @@ if ! grep '^const TUNDETACHFILTER' ${OUT} >/dev/null 2>&1; then fi fi -if ! grep '^const TUNGETVNETHDRSZ'${OUT} >/dev/null 2>&1; then +if ! grep '^const TUNGETVNETHDRSZ' ${OUT} >/dev/null 2>&1; then if grep '^const _TUNGETVNETHDRSZ_val' ${OUT} >/dev/null 2>&1; then echo 'const TUNGETVNETHDRSZ = _TUNGETVNETHDRSZ_val' >> ${OUT} fi fi -if ! grep '^const TUNSETVNETHDRSZ'${OUT} >/dev/null 2>&1; then +if ! grep '^const TUNSETVNETHDRSZ' ${OUT} >/dev/null 2>&1; then if grep '^const _TUNSETVNETHDRSZ_val' ${OUT} >/dev/null 2>&1; then echo 'const TUNSETVNETHDRSZ = _TUNSETVNETHDRSZ_val' >> ${OUT} fi fi -if ! grep '^const TUNSETQUEUE'${OUT} >/dev/null 2>&1; then +if ! grep '^const TUNSETQUEUE' ${OUT} >/dev/null 2>&1; then if grep '^const _TUNSETQUEUE_val' ${OUT} >/dev/null 2>&1; then echo 'const TUNSETQUEUE = _TUNSETQUEUE_val' >> ${OUT} fi |