From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id F06BD6DE01F8 for ; Mon, 8 Oct 2018 08:42:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.006 X-Spam-Level: X-Spam-Status: No, score=0.006 tagged_above=-999 required=5 tests=[AWL=0.007, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g6gujuw4z0fC for ; Mon, 8 Oct 2018 08:42:22 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 2D8296DE0122 for ; Mon, 8 Oct 2018 08:42:21 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1g9Xfn-0008Pa-HH; Mon, 08 Oct 2018 11:42:19 -0400 Received: (nullmailer pid 25401 invoked by uid 1000); Mon, 08 Oct 2018 15:42:18 -0000 From: David Bremner To: Daniel Kahn Gillmor , Notmuch Mail Subject: Re: [PATCH] Avoid spurious gcc warning in debugger.c In-Reply-To: <20181006203449.29526-1-dkg@fifthhorseman.net> References: <20181006203449.29526-1-dkg@fifthhorseman.net> X-List-To: notmuch Date: Mon, 08 Oct 2018 12:42:18 -0300 Message-ID: <87zhvosaw5.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 15:42:23 -0000 Daniel Kahn Gillmor writes: > Without this patch, gcc 8.2.0-7 complains: > > debugger.c: In function =E2=80=98debugger_is_active=E2=80=99: > debugger.c:40:24: warning: passing argument 2 to restrict-qualified param= eter aliases with argument 1 [-Wrestrict] > if (readlink (buf, buf, sizeof (buf)) !=3D -1 && > ~~~ ^~~ > There seems to be some overlap with dme's recent patch id:20181004094545.18710-1-dme@dme.org Could one or both of you maybe produce a merged series? d