[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-storage.c, 1.115.2.8, 1.115.2.9
From:       cras () dovecot ! org (cras at dovecot ! org)
Date:       2006-08-23 19:43:46
Message-ID: 20060823194346.A84E7C014B27 () talvi ! dovecot ! org
[Download RAW message or body]

Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv7766

Modified Files:
      Tag: branch_1_0
	maildir-storage.c 
Log Message:
Rename was a bit broken if the new name began with the old name



Index: maildir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-storage.c,v
retrieving revision 1.115.2.8
retrieving revision 1.115.2.9
diff -u -d -r1.115.2.8 -r1.115.2.9
--- maildir-storage.c	10 Aug 2006 20:36:06 -0000	1.115.2.8
+++ maildir-storage.c	23 Aug 2006 19:43:43 -0000	1.115.2.9
@@ -811,7 +811,8 @@
 	   other processes though. */
 	pool = pool_alloconly_create("Maildir subfolders list", 1024);
 	ARRAY_CREATE(&names_arr, default_pool, const char *, 64);
-	ctx = maildir_mailbox_list_init(&storage->storage, oldname, "*",
+	ctx = maildir_mailbox_list_init(&storage->storage, oldname,
+					/*MAILDIR_FS_SEP_S*/"*",
 					MAILBOX_LIST_FAST_FLAGS);
 	while ((list = maildir_mailbox_list_next(ctx)) != NULL) {
 		const char *name;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic