Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1]) by pear.epix.net (8.8.7/8.8.7/19971106Philippe Levan) with ESMTP id UAA25810 for ; Wed, 17 Dec 1997 20:05:24 -0500 (EST) Received: from daemon@localhost by gw.home.vix.com id QAA19597 for inn-bugs-outgoing; Wed, 17 Dec 1997 16:56:04 -0800 (PST) env-from (owner-inn-bugs) Received: from palrel3.hp.com [156.153.255.219] by gw.home.vix.com via ESMTP id QAA19590 for ; Wed, 17 Dec 1997 16:56:02 -0800 (PST) env-from (schmitz@vid.hp.com) Received: from hpspden.vid.hp.com (daemon@hpspden.vid.hp.com [15.17.20.122]) by palrel3.hp.com (8.8.5/8.8.5tis) with SMTP id QAA15231 for ; Wed, 17 Dec 1997 16:56:00 -0800 (PST) Received: from hpspden.vid.hp.com by hpspden.vid.hp.com with SMTP (1.38.193.4/15.6 - vid) id AA01647; Wed, 17 Dec 1997 16:55:50 -0800 Message-Id: <34987496.1394@vid.hp.com> Date: Wed, 17 Dec 1997 16:55:50 -0800 From: John Schmitz X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/715) Mime-Version: 1.0 To: inn-bugs@isc.org Cc: schmitz@vid.hp.com Subject: bug in 1.7.2 nnrpd.c for hpux Sender: owner-inn-bugs@vix.com Precedence: bulk Content-Type: multipart/mixed; boundary="------------4BCD6885389" X-UIDL: 72c94ddf3d82088697fa201b9c77835b X-PMFLAGS: 570949760 0 This is a multi-part message in MIME format. --------------4BCD6885389 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I use hpux 9.04 and the equivalent setproctitle function didn't work in nnrpd.c. I have enclosed a patch to fix the problem. Thanks John --------------4BCD6885389 Content-Type: text/plain; charset=us-ascii; name="nnrphpuxpatch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nnrphpuxpatch" *** /tmp/,RCSt1a29447 Wed Dec 17 16:49:43 1997 --- nnrpd.c Wed Dec 17 16:44:45 1997 *************** *** 237,242 union pstun un; (void)sprintf(buff, "(nnrpd) %s %s", ClientHost, what); (void)pstat(PSTAT_SETCMD, un, strlen(buff), 0, 0); #endif /* defined(HPUX) */ #endif /* defined(DO_HAVE_SETPROCTITLE) */ --- 237,243 ----- union pstun un; (void)sprintf(buff, "(nnrpd) %s %s", ClientHost, what); + un.pst_command = buff; (void)pstat(PSTAT_SETCMD, un, strlen(buff), 0, 0); #endif /* defined(HPUX) */ #endif /* defined(DO_HAVE_SETPROCTITLE) */ --------------4BCD6885389-- -- End --