pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38128 (pkgsrc FEATURES framework doesn't support setprogname/getprogname)



On Feb 29,  8:23pm, tnn%NetBSD.org@localhost (tnn%NetBSD.org@localhost) wrote:
-- Subject: Re: pkg/38128 (pkgsrc FEATURES framework doesn't support setprogn

| Synopsis: pkgsrc FEATURES framework doesn't support setprogname/getprogname
| 
| Responsible-Changed-From-To: pkg-manager->tnn
| Responsible-Changed-By: tnn%NetBSD.org@localhost
| Responsible-Changed-When: Fri, 29 Feb 2008 20:23:44 +0000
| Responsible-Changed-Why:
| I'm doing work in this area.
| Note however that it's tricky to provide a portable fallback
| implementation of setprogname()/getprogname() because the only
| way to do this on some platforms is to overwrite whatever is
| in argv[0], and getting that pointer can be nontrivial.

Look in /usr/src/usr.sbin/sup/source/setproctitle.c

christos


Home | Main Index | Thread Index | Old Index