aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-09-10 20:32:20 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-09-10 20:32:20 +0000
commit4d7bfeec428c5bfd005bb6028221c22e5a8abcdf (patch)
tree5a67b4a8d1c283efbeb5818f6e5dc742ad06c69f
parenta1fc3891ebb77c1bdf68ce70c074eb907d21771a (diff)
downloadgcc-4d7bfeec428c5bfd005bb6028221c22e5a8abcdf.zip
gcc-4d7bfeec428c5bfd005bb6028221c22e5a8abcdf.tar.gz
gcc-4d7bfeec428c5bfd005bb6028221c22e5a8abcdf.tar.bz2
re PR go/91621 (libgo/mksysinfo.sh: please avoid test ==)
PR go/91621 mksysinfo: change test == to test = Fixes https://gcc.gnu.org/PR91621 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194569 From-SVN: r275608
-rw-r--r--gcc/go/gofrontend/MERGE2
-rwxr-xr-xlibgo/mksysinfo.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 5591c1d..0c9b3ff 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-556451586b10584e4778694c84b03d0ecbbab150
+2f6dd921a21351e94f55a5365a3176af563b5945
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh
index 5f7b5f0..d616bd8 100755
--- a/libgo/mksysinfo.sh
+++ b/libgo/mksysinfo.sh
@@ -1123,7 +1123,7 @@ grep '^const _FALLOC_' gen-sysinfo.go |
# Prefer largefile variant if available.
# CentOS 5 does not have f_flags, so pull from f_spare.
statfs=`grep '^type _statfs64 ' gen-sysinfo.go || true`
-if test "$statfs" == ""; then
+if test "$statfs" = ""; then
statfs=`grep '^type _statfs ' gen-sysinfo.go || true`
fi
if ! echo "$statfs" | grep f_flags; then