> On Wed, 10 May 2000, Bruce Momjian wrote:
>
> > > D'oh, okay...I ended up going through the v6.5.* source code too, and
> > > couldn't find it there. I forget how Bruce had implemented it using
> > > argv[0], and yes, it is definitely broken on FreeBSD 4.0 ...
> > >
> > > I'll look at doing the change here locally, since I know
> > > setproctitle() does work, as I find it invaluable to know what is running,
> > > and where ...
> >
> > Can you find out if it is broken, or they have stopped supporting it in
> > FreeBSD.
>
> In 4.0-Rel they're not saying it's gone or going away, just that you
> need to link with -lutil if you use it. They also state that there's
> no standard but that they believe they're using the predominant
> convention.
So if you use -lutil, the argv[0] trick works, and if you don't, it
doesn't? If so, we can get that into the FreeBSD template.
-- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026