On Thu, Oct 13, 2016 at 1:50 AM, Pádraig Brady <p...@draigbrady.com> wrote:
> On 13/10/16 02:43, Daniel Richard G. wrote:
>> On Wed, 2016 Oct 12 11:04+0100, Pádraig Brady wrote:
>>> You only want to strdup once.
>>> So you could use a static to track that as is done in the AIX case.
>> Ah, I see, the program name never changes.
>>> You can call free(NULL), so the last 3 ifs are redundant.
>> Revised patch is tested and attached.
> Pushed at:
This will be pulled into grep soon.