[dovecot-cvs] dovecot/src/lib-index mail-index-data.c,1.34,1.35
cras at procontrol.fi
cras at procontrol.fi
Mon Jan 20 16:52:53 EET 2003
- Previous message: [dovecot-cvs] dovecot/src/lib-imap Makefile.am,1.5,1.6 imap-envelope.c,1.21,1.22 imap-message-cache.c,1.35,NONE imap-message-cache.h,1.14,NONE
- Next message: [dovecot-cvs] dovecot/src/lib-storage Makefile.am,1.5,1.6 mail-search.c,1.9,1.10 mail-search.h,1.7,1.8 mail-storage.h,1.30,1.31 mail-sort.c,1.12,NONE mail-sort.h,1.7,NONE mail-thread.c,1.8,NONE mail-thread.h,1.2,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv7093/lib-index
Modified Files:
mail-index-data.c
Log Message:
mail-storage.h interface changes, affects pretty much everything.
FETCH, SEARCH, SORT and THREAD handling were pretty much moved from
lib-storage/ to imap/ so adding non-index storages would be much easier now.
Also POP3 server can now be easily implemented with lib-storage.
Not too well tested, and at least one major problem: partial fetching is
_slow_.
Index: mail-index-data.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-data.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- mail-index-data.c 10 Jan 2003 13:36:01 -0000 1.34
+++ mail-index-data.c 20 Jan 2003 14:52:51 -0000 1.35
@@ -139,11 +139,11 @@
}
if (size != 0) {
- debug_mprotect(data->mmap_base, data->mmap_full_length,
- data->index);
-
if (pos + size <= data->mmap_used_length)
return TRUE;
+
+ debug_mprotect(data->mmap_base, data->mmap_full_length,
+ data->index);
if (pos + size <= data->mmap_full_length) {
data->mmap_used_length = data->header->used_file_size;
- Previous message: [dovecot-cvs] dovecot/src/lib-imap Makefile.am,1.5,1.6 imap-envelope.c,1.21,1.22 imap-message-cache.c,1.35,NONE imap-message-cache.h,1.14,NONE
- Next message: [dovecot-cvs] dovecot/src/lib-storage Makefile.am,1.5,1.6 mail-search.c,1.9,1.10 mail-search.h,1.7,1.8 mail-storage.h,1.30,1.31 mail-sort.c,1.12,NONE mail-sort.h,1.7,NONE mail-thread.c,1.8,NONE mail-thread.h,1.2,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list