[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] imap4d unsubscribe bug
From: |
Andrew Barnes |
Subject: |
[bug-mailutils] imap4d unsubscribe bug |
Date: |
Thu, 10 Feb 2005 11:33:17 +0000 |
Hi,
There appears to be a bug in the mailutils version 0.6 imap4d code which
means you can't unsubscribe folders.
It looks like the .mailboxlist file is not being updated.
Below is a patch for unsubscribe.c that seems to fix the problem:
39c39
< free (file);
---
58,59c58,60
< asprintf (&file, "%s/.mailboxlist.%d", homedir, getpid ());
< fp2 = fopen (file, "a");
---
char *file2;
asprintf (&file2, "%s/.mailboxlist.%d", homedir, getpid ());
fp2 = fopen (file2, "a");
74a76
rename(file2,file);
76c78
< free (file);
---
free (file2);
86a89,90
free(file);
Andy
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/
- [bug-mailutils] imap4d unsubscribe bug,
Andrew Barnes <=