[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c,
1.83, 1.84
cras at procontrol.fi
cras at procontrol.fi
Sun Jul 4 23:11:06 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.6,
1.7 mail-cache-lookup.c, 1.9, 1.10 mail-cache-private.h, 1.6,
1.7 mail-cache-transaction.c, 1.9, 1.10 mail-cache.c, 1.36,
1.37 mail-cache.h, 1.15, 1.16 mail-index-private.h, 1.22,
1.23 mail-index-sync-update.c, 1.33,
1.34 mail-index-transaction-private.h, 1.8,
1.9 mail-index-transaction.c, 1.16, 1.17
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.7,
1.8 mail-cache-lookup.c, 1.10, 1.11 mail-cache.h, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv29935/lib-storage/index/mbox
Modified Files:
mbox-storage.c
Log Message:
renaming mailbox under existing mailbox gave wrong error message
Index: mbox-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- mbox-storage.c 24 Jun 2004 14:00:21 -0000 1.83
+++ mbox-storage.c 4 Jul 2004 20:11:04 -0000 1.84
@@ -727,7 +727,11 @@
mail_storage_set_error(_storage,
"Target mailbox already exists");
return -1;
- } else if (!ENOTFOUND(errno) && errno != EACCES) {
+ } else if (errno == ENOTDIR) {
+ mail_storage_set_error(_storage,
+ "Target mailbox doesn't allow inferior mailboxes");
+ return -1;
+ } else if (errno != ENOENT && errno != EACCES) {
mail_storage_set_critical(_storage, "lstat(%s) failed: %m",
newpath);
return -1;
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.6,
1.7 mail-cache-lookup.c, 1.9, 1.10 mail-cache-private.h, 1.6,
1.7 mail-cache-transaction.c, 1.9, 1.10 mail-cache.c, 1.36,
1.37 mail-cache.h, 1.15, 1.16 mail-index-private.h, 1.22,
1.23 mail-index-sync-update.c, 1.33,
1.34 mail-index-transaction-private.h, 1.8,
1.9 mail-index-transaction.c, 1.16, 1.17
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.7,
1.8 mail-cache-lookup.c, 1.10, 1.11 mail-cache.h, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list