Subject: Re: audit of syslog(3) usage...
To: Luke Mewburn <>
From: Chris G. Demetriou <>
List: tech-userlevel
Date: 01/22/2001 10:55:34 (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[0] 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
getprogname() later.

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.