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

Re: How to find the user's config dir

From: David Waite <mass_at_akuma.org>
Date: 2003-09-06 06:03:48 CEST

I believe he wants to create something similar to the user password
cache within ~/.subversion on *nix, to store user-accepted SSL
certificates. Ben, seeing that you wrote that caching code, I think you
are probably the most qualified to answer :-)

-David Waite

Ben Collins-Sussman wrote:

>Tobias Ringström <tobias@ringstrom.mine.nu> writes:
>
>
>
>>I'm writing a patch where I want to store stuff in a file in the
>>user's config dir, but I can't see how to find out what that path
>>is. If it wasn't for the config_dir variable, it would be a piece of
>>cake to add a function to get it, but now it depends on a program
>>argument.
>>
>>Unfortunately I need the path name from inside a Neon callback deep
>>within ra_dav. In the rest of the code that works with config
>>directory, config_dir is passed on as a parameter which is fine for
>>the config functions, but not for the ra code.
>>
>>One way would be to add the user's config path to the config hash
>>table. Would that be acceptable, or do you have a better suggestion?
>>
>>
>
>I have to admit, you've completely lost me. :-( Maybe you can
>re-explain exactly what you want to happen, and what you've tried to
>do?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 6 06:04:56 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.