Solaris 2.5 & 2.5.1 portability fixes, based on patches from Steve Murphy

* glibtop_machine.h, open.c, procargs.c, proclist.c, procmap.c:
          Solaris 2.5 & 2.5.1 portability fixes, based on patches
          from Steve Murphy <murf@e-tools.com>.
This commit is contained in:
Drazen Kacar
1999-06-07 04:13:05 +00:00
parent e9baa3543e
commit 432adade05
6 changed files with 42 additions and 3 deletions

View File

@@ -43,7 +43,11 @@ char *
glibtop_get_proc_args_s (glibtop *server, glibtop_proc_args *buf,
pid_t pid, unsigned max_len)
{
#ifdef HAVE_PROCFS_H
struct psinfo pinfo;
#else
struct prpsinfo pinfo;
#endif
int len, i;
char *ret, *p;