syscall: Fix to libgo/mksysinfo.sh
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 29 Jul 2015 21:42:30 +0000 (21:42 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 29 Jul 2015 21:42:30 +0000 (21:42 +0000)
    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

From-SVN: r226366

gcc/go/gofrontend/MERGE
libgo/mksysinfo.sh

index 663ad80..0915152 100644 (file)
@@ -1,4 +1,4 @@
-3aa95d96181dc4525b1b8ec189f9104afa6d7609
+9931f2c150e2da4b7d468db332823d8ef4fb8c34
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 029098f..942e831 100755 (executable)
@@ -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