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

Re: JavaHL setConfigDirectory() and auth cache problems

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-12-20 15:12:11 CET

Mark Phippard wrote:
> Wouldn't it be possible to have the code treat "" the same as NULL? I
> think when we committed it, we thought that it did. Probably because
> line 2872 in SVNClient.cpp:
>
> m_configDir = (configDir == NULL ? "" : configDir);

I see "" and NULL meaning two entirely different things, "" meaning
"read the configuration from the current working directory" and NULL
meaning "I want a the default configuration, so don't even try to read
the disk".

That said, I have *no* idea what standards the JavaHL code has for
itself regarding path handling of that sort.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Wed Dec 20 15:12:33 2006

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.