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

Re: [PATCH] Fix the build with BDB < 4.2 - DB_ENV->get_flags()

From: Peter Pentchev <roam_at_ringlet.net>
Date: 2006-02-11 20:50:31 CET

On Sat, Feb 11, 2006 at 09:35:31PM +0200, Peter Pentchev wrote:
> Hi,
>
> The BDB code in Subversion tries to use the get_flags() member function
> of DB_ENV; unfortunately, this function did not appear until BDB 4.2,
> so for earlier versions messing with the internals of the DB_ENV
> structure is, unfortunately, unavoidable.
>
> [[[
> Fix the build with BDB < 4.2 without DB_ENV->get_flags().
> ]]]
[snip]

Eep! I just realized this breaks the logic, badly. Here's a fixed
patch.

G'luck,
Peter

-- 
Peter Pentchev	roam@ringlet.net    roam@cnsys.bg    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I am jealous of the first word in this sentence.

  • application/pgp-signature attachment: stored
Received on Sat Feb 11 20:50:47 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.