diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-11-06T01·15+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-11-06T01·15+0000 |
commit | 327a232c85de3faa56f9a6117c86e1aa22f88bd6 (patch) | |
tree | a664640621fd3d6806683e08beebc142b634b4fc /externals/bdb-cygwin.patch | |
parent | c60d796f04f81b17330fbfc1e438ed207b1047f4 (diff) |
* Remove support for old (before Nix 0.12pre12020) databases.
Diffstat (limited to 'externals/bdb-cygwin.patch')
-rw-r--r-- | externals/bdb-cygwin.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/externals/bdb-cygwin.patch b/externals/bdb-cygwin.patch deleted file mode 100644 index 3f0ee78a7085..000000000000 --- a/externals/bdb-cygwin.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -rc db-4.5.20-orig/os/os_flock.c db-4.5.20/os/os_flock.c -*** db-4.5.20-orig/os/os_flock.c 2006-10-13 12:36:12.000000000 +0200 ---- db-4.5.20/os/os_flock.c 2006-10-13 12:40:11.000000000 +0200 -*************** -*** 30,35 **** ---- 30,44 ---- - - DB_ASSERT(dbenv, F_ISSET(fhp, DB_FH_OPENED) && fhp->fd != -1); - -+ #ifdef __CYGWIN__ -+ /* -+ * Windows file locking interferes with read/write operations, so we -+ * map the ranges to an area past the end of the file. -+ */ -+ DB_ASSERT(dbenv, offset < (off_t) 1 << 62); -+ offset += (off_t) 1 << 62; -+ #endif -+ - fl.l_start = offset; - fl.l_len = 1; - fl.l_type = acquire ? F_WRLCK : F_UNLCK; -Only in db-4.5.20/os: os_flock.c~ |