aboutsummaryrefslogtreecommitdiff
path: root/externals/bdb-cygwin.patch
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-11-07 14:51:28 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-11-07 14:51:28 +0000
commit983c5e3fce1fb688ec086a5d6664a30f492f700d (patch)
tree4d673498eef7903112a761b95f9e7b7260d7ce0a /externals/bdb-cygwin.patch
parent7e85a2af5f2cf6c19fc582c6cec77c0eefef2c31 (diff)
* Fix the locking patch for Berkeley DB 4.5.
Diffstat (limited to 'externals/bdb-cygwin.patch')
-rw-r--r--externals/bdb-cygwin.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/bdb-cygwin.patch b/externals/bdb-cygwin.patch
index 410106722..3f0ee78a7 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
+