nicowilliams/heimdal — comment on commit 6fce54a5b1f68e3fb6007bb17da5038bb7eb8489
File: base/db.c line 126
By lha:

I think its ok to assume small allocation will always work, basically you are doing a compare-and-swap here. we really just want to have c++11 (or C1X)

btw have a look at http://blog.regehr.org/archives/658

its fine to keep this