[dovecot-cvs] dovecot/src/plugins/quota Makefile.am, 1.6,
1.6.2.1 quota-maildir.c, 1.9, 1.9.2.1
cras at dovecot.org
cras at dovecot.org
Sun Jun 11 17:06:15 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c,
1.43, 1.43.2.1 maildir-mail.c, 1.22, 1.22.2.1 maildir-save.c,
1.70, 1.70.2.1 maildir-storage.h, 1.49,
1.49.2.1 maildir-util.c, 1.14, 1.14.2.1
- Next message: [dovecot-cvs] dovecot/src/login-common ssl-proxy-openssl.c, 1.37,
1.37.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv9999/plugins/quota
Modified Files:
Tag: branch_1_0
Makefile.am quota-maildir.c
Log Message:
Add ",S=size" to maildir filenames when quota plugin is loaded with
Maildir++ backend.
Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- Makefile.am 27 Apr 2006 12:30:05 -0000 1.6
+++ Makefile.am 11 Jun 2006 14:06:12 -0000 1.6.2.1
@@ -1,8 +1,11 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-dict \
+ -I$(top_srcdir)/src/lib-index \
-I$(top_srcdir)/src/lib-mail \
- -I$(top_srcdir)/src/lib-storage
+ -I$(top_srcdir)/src/lib-storage \
+ -I$(top_srcdir)/src/lib-storage/index \
+ -I$(top_srcdir)/src/lib-storage/index/maildir
lib01_quota_plugin_la_LDFLAGS = -module -avoid-version
Index: quota-maildir.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-maildir.c,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- quota-maildir.c 2 May 2006 20:11:08 -0000 1.9
+++ quota-maildir.c 11 Jun 2006 14:06:12 -0000 1.9.2.1
@@ -8,6 +8,7 @@
#include "read-full.h"
#include "write-full.h"
#include "str.h"
+#include "maildir-storage.h"
#include "quota-private.h"
#include <stdio.h>
@@ -552,8 +553,15 @@
static bool
maildir_quota_add_storage(struct quota_root *root __attr_unused__,
- struct mail_storage *storage __attr_unused__)
+ struct mail_storage *_storage)
{
+ if (strcmp(_storage->name, "maildir") == 0) {
+ struct maildir_storage *storage =
+ (struct maildir_storage *)_storage;
+
+ /* For newly generated filenames add ,S=size. */
+ storage->save_size_in_filename = TRUE;
+ }
return TRUE;
}
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c,
1.43, 1.43.2.1 maildir-mail.c, 1.22, 1.22.2.1 maildir-save.c,
1.70, 1.70.2.1 maildir-storage.h, 1.49,
1.49.2.1 maildir-util.c, 1.14, 1.14.2.1
- Next message: [dovecot-cvs] dovecot/src/login-common ssl-proxy-openssl.c, 1.37,
1.37.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list