b0ac2c461f
These patches must be applied to the bdb-5.1.29 source from Oracle, and then compiled, for the Mac client to build. Using an existing 5.1.29 binary will not work; as it was likely compiled with gcc; which OSX no longer natively supports.
12 lines
332 B
Diff
12 lines
332 B
Diff
--- old-bdb/src/mutex/mut_method.c 2011-10-25 14:39:35.000000000 -0600
|
|
+++ new-bdb/src/mutex/mut_method.c 2018-06-01 20:04:05.000000000 -0600
|
|
@@ -428,7 +428,7 @@
|
|
MUTEX_LOCK(env, mtx);
|
|
ret = atomic_read(v) == oldval;
|
|
if (ret)
|
|
- atomic_init(v, newval);
|
|
+ atomic_init_db(v, newval);
|
|
MUTEX_UNLOCK(env, mtx);
|
|
|
|
return (ret);
|