dovecot-2.0: dbox: Create dbox temp files with ".temp." prefix, ...

dovecot at dovecot.org dovecot at dovecot.org
Tue Aug 24 20:07:52 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/c562721dff2d
changeset: 12043:c562721dff2d
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Aug 24 18:07:48 2010 +0100
description:
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.

diffstat:

 src/lib-storage/index/dbox-common/dbox-storage.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 14190cceb903 -r c562721dff2d src/lib-storage/index/dbox-common/dbox-storage.h
--- a/src/lib-storage/index/dbox-common/dbox-storage.h	Tue Aug 24 17:18:01 2010 +0100
+++ b/src/lib-storage/index/dbox-common/dbox-storage.h	Tue Aug 24 18:07:48 2010 +0100
@@ -10,7 +10,7 @@
 #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"


More information about the dovecot-cvs mailing list