diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-02-10 20:57:47 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-02-10 20:57:47 +0000 |
commit | 99188797eb41b52a98b019e0842521fbd06251e1 (patch) | |
tree | 8ddba53e1e857059cd4682d2fbf07470f9eca4a4 /net-mail/courier-imap | |
download | patches-99188797eb41b52a98b019e0842521fbd06251e1.tar.bz2 patches-99188797eb41b52a98b019e0842521fbd06251e1.tar.xz patches-99188797eb41b52a98b019e0842521fbd06251e1.zip |
Remove complication in maildir handling to have courier-imap work on ocfs2
Diffstat (limited to 'net-mail/courier-imap')
-rw-r--r-- | net-mail/courier-imap/ocfs2-compat.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-mail/courier-imap/ocfs2-compat.patch b/net-mail/courier-imap/ocfs2-compat.patch new file mode 100644 index 0000000..6bfe0a2 --- /dev/null +++ b/net-mail/courier-imap/ocfs2-compat.patch @@ -0,0 +1,19 @@ +--- libs/maildir/maildircreate.c.bak 2015-02-10 20:41:23.000873342 +0000 ++++ libs/maildir/maildircreate.c 2015-02-10 20:41:30.798876266 +0000 +@@ -225,16 +225,5 @@ + + int maildir_movetmpnew(const char *tmpname, const char *newname) + { +- if (link(tmpname, newname) == 0) +- { +- unlink(tmpname); +- return 0; +- } +- +- if (errno != EXDEV) +- return -1; +- +- /* AFS? */ +- + return rename(tmpname, newname); + } |