[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7209) Changes to libraries/libmdb/mdb.c needed to build on FreeBSD
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7209) Changes to libraries/libmdb/mdb.c needed to build on FreeBSD
- From: hyc@symas.com
- Date: Wed, 14 Mar 2012 21:09:24 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
4glitch@gmail.com wrote:
> Full_Name: Dmitri Bogomolov
> Version: 2.4.28
> OS: Gentoo/FreeBSD
> URL: ftp://ftp.openldap.org/incoming/dmitri-bogomolov-120314.patch
> Submission from: (NULL) (176.36.139.33)
>
>
> As I can see, FreeBSD have no O_DSYNC, no fdatasync(fd). I've been able to build
> openldap-2.4.30 with trivial fix.
>
> Can you please include it in next version?
No. Compile with -DMDB_SYNC and -DMDB_FDATASYNC yourself like it says in the
comments in mdb.c.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/