[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-09-06 00:11:08 CEST

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
Received on Sat Sep 6 00:11:37 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.