Setproctitle && HPUX, patch/fix included

Kevin Steves kevin at atomicgears.com
Sat Jun 8 02:44:54 EST 2002


On Fri, Jun 07, 2002 at 11:59:01AM +0200, Mark Janssen wrote:
> I can locate sys/pstat.h on my system, but the ./configure won't find it
> (it's in /usr/include/sys/pstat.h). When I force HAVE_SYS_PSTAT_H on
> config.h it will still not work, since setproctitle.c has a check for
> defined HAVE_PSTAT && defined PSTAT_SETCMD.
> 
> Shouldn't this be
> 
> ( defined HAVE_PSTAT || defined HAVE_SYS_PSTAT_H ) && def PSTAT_SETCMD
> 
> (Pardon my preprocessor logic, this is probably wrong, but you get the
> idea.
> 
> Using #define HAVE_SYS_PSTAT_H in setproctitle.c will fix my problem.

are you referring to:
http://bugzilla.mindrot.org/show_bug.cgi?id=236

that needs to be reviewed.  the current setproctitle.c does work
for HP-UX 11.



More information about the openssh-unix-dev mailing list