From patchwork Tue Sep 10 20:32:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 1160557 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-508801-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=golang.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="oV4VK5YQ"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=golang-org.20150623.gappssmtp.com header.i=@golang-org.20150623.gappssmtp.com header.b="Yhxygnhc"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46ScDX3pvbz9s00 for ; Wed, 11 Sep 2019 06:33:14 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=MYInhkvJzFTlO8T4wOQQ3dZkFOof5Dgm/7oTtllNe3JYF6 aR6XMrsltx+Zhm3tdYeGqVCOvfFsh2GXHDvIG3/DFh266ClwvlzprB2fL4tjVu9+ gpkHNY9PtpKPAvt0mJR1mXTVQobUiwdsxnDFQizwRfdqda+GQrbizolh8Paa8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=612isHEBO3y0Rq682FWAdlJ/QV0=; b=oV4VK5YQUUu56m3EgXLC /I8Pu7ziNO7K4wFSF7Nvx0S+6Zj9NxaFg192bg4rVOaRyfoss5Ufw1/ymmSrg05v StvHU/nPfAJZXIXynO7aNDE1PZws1vbEqwzT7CGWvt16bvd3A1u3Lhudwkg818gZ Z4eZdjIInhnlZ0Q2AZkL9lc= Received: (qmail 85512 invoked by alias); 10 Sep 2019 20:33:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 85480 invoked by uid 89); 10 Sep 2019 20:33:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1203, HX-Received:aa7 X-HELO: mail-ed1-f52.google.com Received: from mail-ed1-f52.google.com (HELO mail-ed1-f52.google.com) (209.85.208.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 10 Sep 2019 20:33:04 +0000 Received: by mail-ed1-f52.google.com with SMTP id u6so18505832edq.6 for ; Tue, 10 Sep 2019 13:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golang-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=8HG2iXAmGlepkh9QAntdqW9opmbJoWp+vuuNAfRsiRo=; b=Yhxygnhc8m4BO8i0LLGIeLE5PwGgvLLBN45wMGjkwk1Vn10FGuYv8QKt24UpUpbN3K ozO4ggHnS5rB3stvB099PQIpjflkdniU0nFMQaLotyILAfdSG2TIVz2IxkfMkeEsuFT0 P4eSEhtMjbXtb//9ZKchFekrYftGzDvlN3tLcX8TQE+tw96DNDVgV/1dGydPMYekry7P cdaQUUjmRligZ5UU31m4z8/jyONAFC+frNgBgHDUR7QSugCvAVcfeADGqVyxdHky9+mi U5klhF5YRgGc9B3GuA0EUEjalt8OOXii1rLxGTry+7JudYuy/gaQmC5PXyAyHd/1ioFC CGrA== MIME-Version: 1.0 From: Ian Lance Taylor Date: Tue, 10 Sep 2019 13:32:50 -0700 Message-ID: Subject: libgo patch committed: Change test == to test = To: gcc-patches , gofrontend-dev This patch to the mksysinfo script changes from using test == to using test =. This fixes GCC PR 91621. Bootstrapped and ran Go tests on x86_64-pc-linux-gnu. Committed to mainline and GCC 9 branch. Ian Index: gcc/go/gofrontend/MERGE =================================================================== --- gcc/go/gofrontend/MERGE (revision 275606) +++ gcc/go/gofrontend/MERGE (working copy) @@ -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. Index: libgo/mksysinfo.sh =================================================================== --- libgo/mksysinfo.sh (revision 275594) +++ libgo/mksysinfo.sh (working copy) @@ -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