summaryrefslogtreecommitdiff
path: root/net-mail/courier-imap/ocfs2-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/courier-imap/ocfs2-compat.patch')
-rw-r--r--net-mail/courier-imap/ocfs2-compat.patch19
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);
+ }