Final Suggestion (Re: suggested bsd-setproctitle.c)
mouring at pconline.com
Thu Nov 9 02:13:07 EST 2000
On Wed, 8 Nov 2000, Kevin Steves wrote:
> On Wed, 8 Nov 2000, Ben Lindstrom wrote:
> I was thinking of:
> #ifdef HAVE___PROGNAME
> return __progname;
> : Unless you plan on moving the #ifndef .. #endif to around the call in
> : main().
> I was trying to avoid that, but if we don't want to assign __progname to
> itself, it's fine with me.
I have no real quarms with assign itself to itself. One would hope during
an optimization phase the compiler would quietly drop it.
More information about the openssh-unix-dev