[dovecot] maildir_copy_with_hardlinks doesn't work

Kimura Fuyuki fuyuki at hadaly.org
Sat Apr 5 12:30:59 EEST 2003


On my box maildir_copy_with_hardlinks=yes causes the following IMAP
error:

	Some of the requested messages no longer exist.

A possible fix follows.

--- src/lib-storage/index/maildir/maildir-copy.c	19 Feb 2003 21:32:21 -0000	1.21
+++ src/lib-storage/index/maildir/maildir-copy.c	5 Apr 2003 09:23:34 -0000
@@ -113,7 +113,7 @@
 	ret2 = index_messageset_deinit(ctx);
 	if (ret2 < 0)
 		ret = -1;
-	else {
+	else if (ret2 == 0) {
 		mail_storage_set_error(src->box.storage,
 			"Some of the requested messages no longer exist.");
 		ret = -1;

-- fuyuki



More information about the dovecot mailing list