| Index: third_party/sqlite/amalgamation/sqlite3.c
|
| diff --git a/third_party/sqlite/amalgamation/sqlite3.c b/third_party/sqlite/amalgamation/sqlite3.c
|
| index 247d842c225db15937989c5aceb8ac51e0b99d33..c51a37698fef06318c97194692a5bbcdcbf176fd 100644
|
| --- a/third_party/sqlite/amalgamation/sqlite3.c
|
| +++ b/third_party/sqlite/amalgamation/sqlite3.c
|
| @@ -41637,7 +41637,7 @@ static int pager_open_journal(Pager *pPager){
|
| ** 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) ){
|
|
|