From 983c5e3fce1fb688ec086a5d6664a30f492f700d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 7 Nov 2006 14:51:28 +0000 Subject: [PATCH] * Fix the locking patch for Berkeley DB 4.5. --- externals/bdb-cygwin.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externals/bdb-cygwin.patch b/externals/bdb-cygwin.patch index 410106722a..3f0ee78a70 100644 --- a/externals/bdb-cygwin.patch +++ b/externals/bdb-cygwin.patch @@ -12,7 +12,7 @@ diff -rc db-4.5.20-orig/os/os_flock.c db-4.5.20/os/os_flock.c + * Windows file locking interferes with read/write operations, so we + * map the ranges to an area past the end of the file. + */ -+ DB_ASSERT(offset < (off_t) 1 << 62); ++ DB_ASSERT(dbenv, offset < (off_t) 1 << 62); + offset += (off_t) 1 << 62; + #endif +