From: Timo Sirainen Date: Tue, 24 Aug 2010 17:07:48 +0000 (+0100) Subject: dbox: Create dbox temp files with ".temp." prefix, not "temp." X-Git-Tag: 2.0.1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c073ea23cd0e3760b072727cc18114860c27647;p=thirdparty%2Fdovecot%2Fcore.git dbox: Create dbox temp files with ".temp." prefix, not "temp." This makes it consistent with the rest of the created temp files and also gets any stale temp files deleted. --- diff --git a/src/lib-storage/index/dbox-common/dbox-storage.h b/src/lib-storage/index/dbox-common/dbox-storage.h index 84955aaa32..12c417900c 100644 --- a/src/lib-storage/index/dbox-common/dbox-storage.h +++ b/src/lib-storage/index/dbox-common/dbox-storage.h @@ -10,7 +10,7 @@ struct dbox_storage; #define DBOX_SUBSCRIPTION_FILE_NAME "subscriptions" #define DBOX_UIDVALIDITY_FILE_NAME "dovecot-uidvalidity" #define DBOX_INDEX_PREFIX "dovecot.index" -#define DBOX_TEMP_FILE_PREFIX "temp." +#define DBOX_TEMP_FILE_PREFIX ".temp." #define DBOX_MAILBOX_DIR_NAME "mailboxes" #define DBOX_TRASH_DIR_NAME "trash"