more debugging updates
authorMichael Poole <mdpoole@troilus.org>
Fri, 4 Feb 2005 16:36:40 +0000 (16:36 +0000)
committerMichael Poole <mdpoole@troilus.org>
Fri, 4 Feb 2005 16:36:40 +0000 (16:36 +0000)
commitd06729d5aea6b91b675ab3e982b27c282dc47801
treec915aac62cd5147719e15b8d297a56e28a0e8fa6
parent8133e937bc680adafdc49ee2d962f10a6b39bb1a
more debugging updates

src/alloc-slab.c: Switch free slab list from a stack to queue, and
make sure there are SLAB_RESERVE in the queue before an old slab is
dereferenced.  This causes a fault when dereferencing stale pointers
to the last SLAB_RESERVE full slabs.

src/log.c: Make struct logEntry *last static, to make sure gcc does
not optimize it away.
git-archimport-id: srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-13
ChangeLog
src/alloc-slab.c
src/log.c