This libgo patch by Than McIntosh fixes a small typo in the
mksysinfo.sh script (incorrect input file for a grep command).
Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed
to mainline.
Ian
Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE (revision 258112)
+++ gcc/go/gofrontend/MERGE (working copy)
@@ -1,4 +1,4 @@
-262d629b1592f681fef396166a671e46cdb31230
+3287064c24cbf0c50776cdb87a720d29130b4363
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
Index: libgo/mksysinfo.sh
===================================================================
--- libgo/mksysinfo.sh (revision 257914)
+++ libgo/mksysinfo.sh (working copy)
@@ -1142,7 +1142,7 @@ grep '^const _RLIM_' gen-sysinfo.go |
sed -e 's/^\(const \)_\(RLIM_[^= ]*\)\(.*\)$/\1\2 = _\2/' >> ${OUT}
if test "${rlimit}" = "_rlimit64" && grep '^const _RLIM64_INFINITY '
gen-sysinfo.go > /dev/null 2>&1; then
echo 'const RLIM_INFINITY = _RLIM64_INFINITY' >> ${OUT}
-elif grep '^const _RLIM_INFINITY ' gen-sysinfo-go; then
+elif grep '^const _RLIM_INFINITY ' gen-sysinfo.go > /dev/null 2>&1; then
echo 'const RLIM_INFINITY = _RLIM_INFINITY' >> ${OUT}
fi