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

Re: Compressed text-base patch

From: <rbb_at_rkbloom.net>
Date: 2003-04-29 00:05:47 CEST

On 28 Apr 2003, Greg Hudson wrote:

> On Mon, 2003-04-28 at 17:42, rbb@rkbloom.net wrote:
> > APR has called this out from the get-go. The data is associated with
> > whatever pool is used to open the file. The user-data stuff is an aspect
> > of pools, not every APR type. If we tried to associate the data with the
> > specific file handle, we would need a hash-table in every APR type, as
> > well as one in the pool.
>
> Then why are there functions named apr_file_data_{get,set} at all? Why
> not make people use apr_pool_userdata_{get,set} on the pool?

Because when the functions were written it wasn't possible to get to the
pool that was stored in the apr_file_t.

Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 28 23:50:53 2003

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.