mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
* Fix the locking patch for Berkeley DB 4.5.
This commit is contained in:
parent
7e85a2af5f
commit
983c5e3fce
1 changed files with 1 additions and 1 deletions
2
externals/bdb-cygwin.patch
vendored
2
externals/bdb-cygwin.patch
vendored
|
@ -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
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue