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

Re: svn commit: r10788 - in trunk/subversion: include libsvn_subr

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-09-01 21:20:44 CEST

On Wed, 1 Sep 2004, Mark Benedetto King wrote:

> On Wed, Sep 01, 2004 at 02:15:16AM +0200, Branko ??ibej wrote:
> >
> > I think there is a better way to do this, that could avoid using global
> > data and locks: add the xlate cache to the svn_client_context_t struct,
> > and document that this structure is thread-specific. Most public
> > functions need to grow a thread-specific context parameter anyway,
> > although that will have to wait for 2.0. But I think it should be
> > possible to use the cache from the context in most places where we do
> > charset conversions now, by adding a set of conversion functions that
> > take a context parameter.
> >
> Why stop there? Why not just put an xlate callback in the client context?
Sorry, but I don't see at all why this would be useful. Why would one want
to replace the translation *function*? We'd have to include handles
anyway, and that's what varies. I am probably totally missing something.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 1 21:06:51 2004

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.