On 2/4/14, 1:14 AM, Philip Martin wrote: > We want some pattern that ensures __close is always called even when an > error is returned part way through. Either a pool cleanup or some sort > of __with_pager().
Maybe a new SVN_ERR macro? SVN_ERR_PAGER(pager, func()) Which calls __close for you before returning the error?