Subject: Re: audit of syslog(3) usage...
To: Luke Mewburn <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 01/22/2001 10:55:34
email@example.com (Luke Mewburn) writes:
> - On a tangental point, if we get around to replacing
> const char *__progname
> with something more portable like:
> const char *getprogname(const char *argv0)
> (the argv0 element is argv from main(), and could
> be ignored by NetBSD which can still use __progname
> from crt0 which is more likely to be accurate)
> then it's fairly trivial to search the source for openlog()
> usage and change ident to using getprogname().
best would be a call to setprogname() (or similar) early in main, then
I suggested this a while ago, and i think i even may have implemented
it in a source tree (and not checked it in).
I'll see if I can'get dig it out, and i'll pass it on to _somebody_ to
do something with.