pcp
[Top] [All Lists]

Re: [pcp] [PATCH] Make pmdaDaemon() take const strings

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] [PATCH] Make pmdaDaemon() take const strings
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 11 Aug 2016 07:06:32 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20160810110807.GB16493@xxxxxxxxxxxxxx>
References: <20160810110807.GB16493@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
On 10/08/16 21:08, David Gibson wrote:
...
Hi, haven't contributed to PCP before, testing the waters with this
pretty trivial cleanup.  I encountered this while trying to write a
PMDA in C++ - that gives warnings when attempting to pass string
literals into these (char *) parameters.

Welcome David.

Patch insitu via email is OK for small changes.

In addition to your changes, there were a couple of knock-on changes needed in libpcp_pmda and two man pages to be updated.

Committed locally, will flow upstream shortly.

<Prev in Thread] Current Thread [Next in Thread>