diff options
Diffstat (limited to 'dev-db/sqlite/files/sqlite-3.6.22-interix-fixes.patch')
-rw-r--r-- | dev-db/sqlite/files/sqlite-3.6.22-interix-fixes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.6.22-interix-fixes.patch b/dev-db/sqlite/files/sqlite-3.6.22-interix-fixes.patch new file mode 100644 index 00000000..dae98fd6 --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.6.22-interix-fixes.patch @@ -0,0 +1,22 @@ +diff -ru sqlite-3.6.22.orig/src/os_unix.c sqlite-3.6.22/src/os_unix.c +--- sqlite-3.6.22.orig/src/os_unix.c 2010-01-15 09:00:06 +0100 ++++ sqlite-3.6.22/src/os_unix.c 2010-01-15 09:01:42 +0100 +@@ -436,7 +436,9 @@ + case ENODEV: + case ENXIO: + case ENOENT: ++#ifdef ESTALE + case ESTALE: ++#endif + case ENOSYS: + /* these should force the client to close the file and reconnect */ + +@@ -1862,7 +1864,7 @@ + pFile->locktype = locktype; + #if !OS_VXWORKS + /* Always update the timestamp on the old file */ +- utimes(zLockFile, NULL); ++ utime(zLockFile, NULL); + #endif + return SQLITE_OK; + } |