Index: third_party/sqlite/mac_time_machine.patch |
diff --git a/third_party/sqlite/mac_time_machine.patch b/third_party/sqlite/mac_time_machine.patch |
index 905609e010508b8b98506f3851eaece2dce0acd9..bfd113b6d1c52642908412cecbfdc75a86a3c310 100644 |
--- a/third_party/sqlite/mac_time_machine.patch |
+++ b/third_party/sqlite/mac_time_machine.patch |
@@ -55,7 +55,7 @@ Index: src/pager.c |
+ ** implementations. */ |
+ if( rc==SQLITE_OK && pPager->zFilename!=NULL |
+ && strlen(pPager->zFilename)>0 |
-+ && memcmp(pVfs->zName, "unix", 4)==0 |
++ && strncmp(pVfs->zName, "unix", 4)==0 |
+ && ( pVfs->zName[4]=='-' || pVfs->zName[4]=='\0' ) ){ |
+ CFURLRef database = create_cfurl_from_cstring(pPager->zFilename); |
+ if( CSBackupIsItemExcluded(database, NULL) ){ |