When I was compiling the new PEM 7.0 code on my Sparc 5 runing Solaris,
I found that in the ROOT/lib/data/initprng.c there is a gethostname call.
As you all know on some System 5 machines like Soalris 2.*, there is no
such a library function. A easy fix could be
#ifdef SOLARIS
sysinfo(SI_HOSTNAME, sighost, sizeof(sighost) );
#else
gethostname (sighost, sizeof(sighost));
Maybe the next version will take care of this.
--Nick Zhang
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | TIS/PEM 7.0 available now from ftp.tis.com, Mark S Feldman |
|---|---|
| Next by Date: | Re: gethostname on System 5 machines, Philip Kizer |
| Previous by Thread: | TIS/PEM 7.0 available now from ftp.tis.com, Mark S Feldman |
| Next by Thread: | Re: gethostname on System 5 machines, Philip Kizer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |