[dovecot-cvs] dovecot/src/lib compat.h,1.34,1.34.2.1
cras at dovecot.org
cras at dovecot.org
Sat Jun 17 18:57:01 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv12556/lib
Modified Files:
Tag: branch_1_0
compat.h
Log Message:
Handle EMLINK and EPERM errors the same way as EXDEV when handling hardlink
failures. Added ECANTLINK() macro for this.
Index: compat.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/compat.h,v
retrieving revision 1.34
retrieving revision 1.34.2.1
diff -u -d -r1.34 -r1.34.2.1
--- compat.h 22 Jan 2006 16:10:52 -0000 1.34
+++ compat.h 17 Jun 2006 15:56:58 -0000 1.34.2.1
@@ -196,4 +196,7 @@
#define ENOTFOUND(errno) \
((errno) == ENOENT || (errno) == ENOTDIR || (errno) == ELOOP)
+#define ECANTLINK(errno) \
+ ((errno) == EXDEV || (errno) == EMLINK || (errno) == EPERM)
+
#endif
More information about the dovecot-cvs
mailing list