[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] pager support for command line client

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 4 Feb 2014 17:26:26 +0100

On Tue, Feb 04, 2014 at 08:13:37AM -0800, Ben Reser wrote:
> 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?

My current plan is to close the pager from a pool cleanup handler
that is invoked when svn exits.
Received on 2014-02-04 17:28:37 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.