bug-gnulib
[Top][All Lists]
Advanced

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

Re: determining the program_invocation_name


From: Paul Eggert
Subject: Re: determining the program_invocation_name
Date: Fri, 24 Dec 2010 18:41:40 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 12/24/2010 01:41 PM, Bruno Haible wrote:

>     Decide that it is better to have no gnulib API at all than an API that
>     has portability problems.

Given the results of your (impressive) research, I'm tempted to
go with this approach.

A fallback position might be to implement only A (the short
name), with a function that always returns a nonnull value,
even if it's only "(unknown program)" or "(pid 34223)" or
something like that.



reply via email to

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