bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/4] New getprogname module


From: Jim Meyering
Subject: Re: [PATCH v2 0/4] New getprogname module
Date: Wed, 7 Sep 2016 08:31:24 -0700

On Tue, Sep 6, 2016 at 4:22 PM, Jim Meyering <address@hidden> wrote:
> On Tue, Sep 6, 2016 at 12:38 PM, Gisle Vanem <address@hidden> wrote:
>> Jim Meyering wrote:
>>
>>> From the output of that mingw configure run, it appears they are not
>>> declared -- at least not in any header included by this particular
>>> test program:
>>>
>>>   checking whether program_invocation_name is declared... no
>>>   checking whether program_invocation_short_name is declared... no
>>
>> There are other options; both MinGW and MSVC have:
>>   extern char** __argv;
>>
>> in their <stdlib.h>.
>
> Thanks. I will extend getprogname to detect/use that, when possible.

I've pushed the attached, which also adds a minimal test case:

Attachment: getprogname-__argv.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]