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

Re: svncpp crash in ssl_server_trust_file_save_credentials

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2004-01-21 14:27:06 CET

>No, that is not how it works. If the may_save argument to the prompt
>function is FALSE, it means that it is impossible to save. Even if you set
>may_save in the creds struct to TRUE, it will not be saved. If the
>application wants to remember a default setting for the user, it must do
>so in an application specific way (probably utilizing the prompt baton).
>That has nothing to do with the svn libs.

Let me check I understand.

The may_save means that there is no provider capable of saving the credentials.

However in the case of the svncpp library I will always see may_save as true
as it adds the file providers. Hence I could remove the may_save flag for the
API and simplify the C++ and pysvn API.

I'm guessing you are going to say I have this wrong :-)

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 21 14:28:21 2004

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