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

Re: coredump! What am I doing wrong?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-05-23 21:50:10 CEST

I'll give a slightly more philosophical answer to your question: parts
of libsvn_client are careful to check for context->config being NULL,
and parts are not. We have no docstring to indicate whether the former
code is being overly defensive or the latter code is being sloppy.

If someone would like to resolve this situation for 1.1 (preferrably in
the direction of allowing context->config to be NULL, and adding a
docstring clarifying the caller's responsibilities with regard to the
context), it would probably be a bite-sized task. Do note that you
might have to touch some code out of libsvn_client, because the config
field is passed as a parameter to functions like ra_lib->open.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 23 21:50:39 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.