Commit d266c7e9 by Ian Lance Taylor

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

From-SVN: r226366
parent ac73bb4c
3aa95d96181dc4525b1b8ec189f9104afa6d7609
9931f2c150e2da4b7d468db332823d8ef4fb8c34
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment