The old cpp version generated:
The new output:
Running cpp with -P (inhibit linemarkers generation) fixes this when using gcc 5.
Behavior with older versions of gcc is not changed.
This reduces presentlist memory usage by about 50%. It's still
about 2.5x greater than it should be.
Don't overload ri_csn with cookie, use a separate berval
Rewrote the psearch result handling to keep track of which
queues are using which results.
Remove assert. This is merely a cache of parent DNs, failure to
insert doesn't affect outcome.