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

Re: URL problem

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-05-31 20:34:49 CEST

Marculescu Paul <paul@compaq.p16.pub.ro> writes:

> path becomes /D:/svntest/repos and the DB_WRAP() function called from
> svn_fs_open_berkeley() fails( because of the '/' before th 'D', I guess).
>

Yes, the problem is that BerkeleyDB chokes on the patch when we call

    DB_ENV->open("/D:/svntest/repos")

I'm not sure how Berkeley is supposed to accept win32-specfic paths...

> path = strchr (hostname, '/');
> #ifdef WIN32
> if( path[2] == ':' )
> path++;
> #endif

Eek! Bad! No OS-specific code allowed in svn.

Berkeley DB is supposed to be portable, and we also have APR as our
portablity library. Somehow *one* of these libraries should be fixing
the problem for us, I'm just not sure how. Does anyone have ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 1 14:11:30 2002

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.