Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120811160950.GH27715@brightrain.aerifal.cx>
Date: Sat, 11 Aug 2012 12:09:50 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Priorities for next release?

On Sat, Aug 11, 2012 at 02:35:52PM +0200, Daniel Cegiełka wrote:
> 2012/8/11 Rich Felker <dalias@...ifal.cx>:
> > On Sat, Aug 11, 2012 at 02:21:39PM +0200, Daniel Cegiełka wrote:
> >> support for:
> >>
> >> extern char *__progname;
> >
> > Isn't there a different public name for this?
> 
> argv[0]

I meant program_invocation_name or whatever ugly thing glibc calls it.
Of course if the goal is to make BSD programs happy, that won't really
help. I really wish somebody would just fix these programs to save
argv[0] themselves if they need it (or to hard-code their own names as
a string literal...) rather than keeping around the historical
practice of poking at implementation internals of the original libc
they used..

> http://fossies.org/dox/glibc-2.16.0/init-misc_8c_source.html

Yes, that's the "proper" public names...

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.