Commit 8a2fdce4 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Only msync() on OS's without coherent buf/vm (aka: OpenBSD)

Fixes #1198
parent c94a4271
......@@ -247,8 +247,10 @@ mgt_SHM_Create(void)
exit (-1);
}
#ifdef OpenBSD
/* Commit changes, for OS's without coherent VM/buf */
AZ(msync(p, getpagesize(), MS_SYNC));
#endif
}
/*--------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment