[dovecot-cvs]
dovecot/src/lib-storage/index/maildir maildir-copy.c,1.27,1.28
cras at procontrol.fi
cras at procontrol.fi
Thu Aug 7 00:15:36 EEST 2003
- Previous message: [dovecot-cvs]
dovecot/src/lib-storage/index index-expunge.c,1.19,1.20
index-fetch.c,1.50,1.51 index-mail.c,1.13,1.14 index-mail.h,1.5,1.6
index-search.c,1.77,1.78 index-storage.c,1.38,1.39
index-storage.h,1.46,1.47
- Next message: [dovecot-cvs]
dovecot/src/pop3 client.c,1.13,1.14 commands.c,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage/index/maildir
In directory danu:/tmp/cvs-serv13163/lib-storage/index/maildir
Modified Files:
maildir-copy.c
Log Message:
Index cache file rewrite. It's not finished yet and mbox support is
completely broken. But it's getting difficult to maintain outside cvs :)
Index: maildir-copy.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/maildir/maildir-copy.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- maildir-copy.c 26 Jul 2003 16:55:11 -0000 1.27
+++ maildir-copy.c 6 Aug 2003 20:15:33 -0000 1.28
@@ -31,12 +31,13 @@
const char **fname, const char *new_path)
{
const char *path;
+ int new_dir;
- *fname = maildir_get_location(index, rec);
+ *fname = maildir_get_location(index, rec, &new_dir);
if (*fname == NULL)
return -1;
- if ((rec->index_flags & INDEX_MAIL_FLAG_MAILDIR_NEW) != 0) {
+ if (new_dir) {
/* probably in new/ dir */
path = t_strconcat(index->mailbox_path, "/new/", *fname, NULL);
if (link(path, new_path) == 0)
- Previous message: [dovecot-cvs]
dovecot/src/lib-storage/index index-expunge.c,1.19,1.20
index-fetch.c,1.50,1.51 index-mail.c,1.13,1.14 index-mail.h,1.5,1.6
index-search.c,1.77,1.78 index-storage.c,1.38,1.39
index-storage.h,1.46,1.47
- Next message: [dovecot-cvs]
dovecot/src/pop3 client.c,1.13,1.14 commands.c,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list