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

Re: errno values over the net

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-11-27 20:56:39 CET

On Wed, 2002-11-27 at 14:29, Ben Collins-Sussman wrote:
> I don't understand the problem. If your server process is linking
> against libsvn_fs (which it must be), then it has access to the whole
> APR error system and SVN error system (which is just an extension.)
> Why not just move apr error codes over the wire?

The goal is to marshal and unmarshal an svn_error_t structure over the
wire. The apr_err field is portable, but the src_err field is not.

> FWIW, mod_dav_svn marshalls the error code to the client in an xml
> structure. You can do something similar, no?

It looks like ra_dav punts on the src_err field (always sets it to 0).
I guess I can do the same.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 27 20:57:26 2002

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