summaryrefslogtreecommitdiff
path: root/net-mail/courier-imap/ocfs2-compat.patch
blob: 6bfe0a22eb45bf6b448cf6b90f0fef6b3697ab58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
 }