[dovecot-cvs] dovecot/src/lib-storage/index index-status.c, 1.40, 1.41 index-storage.c, 1.99, 1.100 index-sync.c, 1.60, 1.61 index-transaction.c, 1.17, 1.18
tss at dovecot.org
tss at dovecot.org
Thu Dec 28 20:52:36 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-status.c, 1.39, 1.40 index-sync.c, 1.59, 1.60 index-transaction.c, 1.16, 1.17
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.96.2.5, 1.96.2.6 mail-index-view.c, 1.44.2.2, 1.44.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv8035/index
Modified Files:
index-status.c index-storage.c index-sync.c
index-transaction.c
Log Message:
Reversed last change. Doing it another way.
Index: index-status.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-status.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- index-status.c 28 Dec 2006 20:15:08 -0000 1.40
+++ index-status.c 28 Dec 2006 20:52:32 -0000 1.41
@@ -44,7 +44,6 @@
index_storage_mailbox_open(ibox);
ret = index_storage_get_status_locked(ibox, items, status);
- if (box->transaction_count == 0)
- mail_index_view_unlock(ibox->view);
+ mail_index_view_unlock(ibox->view);
return ret;
}
Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- index-storage.c 28 Dec 2006 16:28:32 -0000 1.99
+++ index-storage.c 28 Dec 2006 20:52:32 -0000 1.100
@@ -474,8 +474,7 @@
break;
}
- if (ibox->view != NULL)
- mail_index_view_unlock(ibox->view);
+ mail_index_view_unlock(ibox->view);
mail_index_reset_error(ibox->index);
}
Index: index-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-sync.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- index-sync.c 28 Dec 2006 20:15:08 -0000 1.60
+++ index-sync.c 28 Dec 2006 20:52:32 -0000 1.61
@@ -321,8 +321,7 @@
status_r);
}
- if (ibox->box.transaction_count == 0)
- mail_index_view_unlock(ibox->view);
+ mail_index_view_unlock(ibox->view);
i_free(ctx);
return ret;
}
Index: index-transaction.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-transaction.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- index-transaction.c 28 Dec 2006 20:15:08 -0000 1.17
+++ index-transaction.c 28 Dec 2006 20:52:32 -0000 1.18
@@ -23,8 +23,7 @@
{
mail_cache_view_close(t->cache_view);
mail_index_view_close(&t->trans_view);
- if (t->ibox->box.transaction_count == 0)
- mail_index_view_unlock(t->ibox->view);
+ mail_index_view_unlock(t->ibox->view);
array_free(&t->mailbox_ctx.module_contexts);
i_free(t);
}
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-status.c, 1.39, 1.40 index-sync.c, 1.59, 1.60 index-transaction.c, 1.16, 1.17
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.96.2.5, 1.96.2.6 mail-index-view.c, 1.44.2.2, 1.44.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list