On Tue, 2005-12-13 at 16:08 +0000, Malcolm Rowe wrote:
> So the way I'd like to avoid this is to hold the file open for the
> duration of the transaction (which isn't a bad idea anyway); the
> most obvious way to achieve that is to stash the apr_file_t in the
> FSAP-specific private data part of the svn_fs_txn_t structure.
>
> However (and this is the purpose of this note), I'm going to need
> to access the file during calls to the FSFS implementations of
> svn_fs_apply_text() and svn_fs_apply_textdelta(), but these functions
> only take a pointer to a transaction root (an svn_fs_root_t object),
> not to the transaction itself.
Wouldn't it be simpler to stash the file in the transaction root?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 13 19:28:14 2005