From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: David Edmondson <dme@dme.org>, David Bremner <david@tethera.net>,
Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: [PATCH] Avoid spurious gcc warning in debugger.c
Date: Mon, 08 Oct 2018 12:04:57 -0400 [thread overview]
Message-ID: <87sh1go252.fsf@fifthhorseman.net> (raw)
In-Reply-To: <cunbm84xwxv.fsf@dme.org>
On Mon 2018-10-08 16:47:08 +0100, David Edmondson wrote:
> On Monday, 2018-10-08 at 12:42:18 -03, David Bremner wrote:
>
>> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
>>
>>> Without this patch, gcc 8.2.0-7 complains:
>>>
>>> debugger.c: In function ‘debugger_is_active’:
>>> debugger.c:40:24: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict]
>>> if (readlink (buf, buf, sizeof (buf)) != -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?
>
> The change is really the same.
i'm fine with either one as well. thanks, and sorry that i missed dme's
proposal when preparing this one.
--dkg
next prev parent reply other threads:[~2018-10-08 16:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-06 20:34 [PATCH] Avoid spurious gcc warning in debugger.c Daniel Kahn Gillmor
2018-10-08 15:42 ` David Bremner
2018-10-08 15:47 ` David Edmondson
2018-10-08 16:04 ` Daniel Kahn Gillmor [this message]
2018-10-21 13:34 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sh1go252.fsf@fifthhorseman.net \
--to=dkg@fifthhorseman.net \
--cc=david@tethera.net \
--cc=dme@dme.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).