1
1

fix for solaris which does not have bzero

cmr:v1.7.3:reviewer=jsquyres

This commit was SVN r29223.
This commit is contained in:
Mike Dubman 2013-09-21 07:26:02 +00:00
parent bc31773523
commit 08cc4ebecf

View File

@ -49,7 +49,7 @@ OBJ_CLASS_INSTANCE( oshmem_proc_t,
void oshmem_proc_construct(oshmem_proc_t* proc)
{
bzero(proc->proc_endpoints, sizeof(proc->proc_endpoints));
memset(proc->proc_endpoints, 0, sizeof(proc->proc_endpoints));
/* By default all processors are supposedly having the same architecture as me. Thus,
* by default we run in a homogeneous environment. Later, when the RTE can tell us