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

Re: r9990 breaks build

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-06-15 14:39:23 CEST

Ben Collins-Sussman wrote:

>On Mon, 2004-06-14 at 23:02, David Summers wrote:
>
>
>
>>so I think that get_flags must also be part of DB 4.2.52 and not DB
>>4.0.14. To speed things up and preclude any more "how about this" :-)
>>I'm attaching a patch that fixes it (for me, there may be a better way
>>to do it).
>>
>>
>
>Oy! What a pain. I guess your patch will do. It bugs me, because now
>we're using DB_LOGFILE_AUTOREMOVE as an existence test for db 4.2 or
>later. There's got to be a more elegant way to test for 4.2 than that.
>:-(
>
>
There's db_version and the DB_VERSION_* defines. But ideally you want to
test for features, not version numbers (although, obviously you can't
test for existence of a struct member other than by the version number,
sigh. Oh wait, you can with configury, but you can't use configury
because Windows doesn't have it. Enjoy :-). Why don't you take a peek at
the DB API abstraction code in libsvn_fs_base? We already support two
differente BDB APIs

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 15 14:40:07 2004

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.