Blame SOURCES/evolution-ews-3.12.11-book-lock-fix.patch
|
|
c25dee |
diff -up evolution-ews-3.12.11/src/addressbook/e-book-backend-ews.c.book-lock-fix evolution-ews-3.12.11/src/addressbook/e-book-backend-ews.c
|
|
|
c25dee |
--- evolution-ews-3.12.11/src/addressbook/e-book-backend-ews.c.book-lock-fix 2014-11-06 14:30:58.000000000 +0100
|
|
|
c25dee |
+++ evolution-ews-3.12.11/src/addressbook/e-book-backend-ews.c 2015-05-15 08:39:14.892519501 +0200
|
|
|
c25dee |
@@ -4149,8 +4149,10 @@ e_book_backend_ews_set_locale (EBookBack
|
|
|
c25dee |
|
|
|
c25dee |
PRIV_LOCK (ebews->priv);
|
|
|
c25dee |
|
|
|
c25dee |
- if (!e_book_sqlite_lock (ebews->priv->summary, EBSQL_LOCK_WRITE, cancellable, error))
|
|
|
c25dee |
+ if (!e_book_sqlite_lock (ebews->priv->summary, EBSQL_LOCK_WRITE, cancellable, error)) {
|
|
|
c25dee |
+ PRIV_UNLOCK (ebews->priv);
|
|
|
c25dee |
return FALSE;
|
|
|
c25dee |
+ }
|
|
|
c25dee |
|
|
|
c25dee |
if (e_book_sqlite_set_locale (ebews->priv->summary, locale, cancellable, error) &&
|
|
|
c25dee |
ebews_bump_revision (ebews, error))
|
|
|
c25dee |
@@ -4163,7 +4165,7 @@ e_book_backend_ews_set_locale (EBookBack
|
|
|
c25dee |
ebews->priv->locale = g_strdup (locale);
|
|
|
c25dee |
}
|
|
|
c25dee |
|
|
|
c25dee |
- PRIV_LOCK (ebews->priv);
|
|
|
c25dee |
+ PRIV_UNLOCK (ebews->priv);
|
|
|
c25dee |
|
|
|
c25dee |
return success;
|
|
|
c25dee |
}
|