* Cygwin patch.
svn path=/nixpkgs/trunk/; revision=6972
This commit is contained in:
parent
347ef7f889
commit
eac4138841
@ -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 New Issue
Block a user