Displaying 1 result from an estimated 1 matches for "pstat_setcmd".
2002 Jun 07
1
Setproctitle && HPUX, patch/fix included
...res
sys/pstat.h and some other settings.
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.
--
Mark Janssen -- maniac(at)maniac.nl -- Gnu...