From: Mingli Yu
When run test program hostid, it encounters
Segmentation fault as hp is NULL.
# cat /mybuild/hostid.c
#include
#include
int
main(int argc, char *argv[])
{
long hostid;
hostid = gethostid();
printf("the hostid is %ld\n", hostid);
}
# gcc -o /mybuild/hostid
Will send out v3 with the update from glibc upstream.
Thanks,
On 2018年09月18日 17:47, mingli...@windriver.com wrote:
From: Mingli Yu
When run test program hostid, it encounters
Segmentation fault as hp is NULL.
# cat /mybuild/hostid.c
#include
#include
int
main(int argc, char *arg