|
|
@@ -12,22 +12,3 @@ Index: configure
|
|
|
|
|
|
|
|
|
#########
|
|
|
-Index: src/os_unix.c
|
|
|
---- src/os_unix.c.orig 2005-09-17 18:34:55 +0200
|
|
|
-+++ src/os_unix.c 2005-09-18 20:33:51 +0200
|
|
|
-@@ -829,11 +829,15 @@
|
|
|
- if( rc ) rc = fsync(fd);
|
|
|
-
|
|
|
- #else
|
|
|
-+#if defined(__linux__)
|
|
|
- if( dataOnly ){
|
|
|
- rc = fdatasync(fd);
|
|
|
- }else{
|
|
|
-+#endif
|
|
|
- rc = fsync(fd);
|
|
|
-+#if defined(__linux__)
|
|
|
- }
|
|
|
-+#endif
|
|
|
- #endif /* defined(F_FULLFSYNC) */
|
|
|
- #endif /* defined(SQLITE_NO_SYNC) */
|
|
|
-
|