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)
The following reply was made to PR pkg/38128; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, tnn%NetBSD.org@localhost,
pkg-manager%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
cheusov%tut.by@localhost
Cc:
Subject: Re: pkg/38128 (pkgsrc FEATURES framework doesn't support
setprogname/getprogname)
Date: Sat, 1 Mar 2008 00:40:25 -0500
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