[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c,
1.45, 1.46
cras at dovecot.org
cras at dovecot.org
Sat Jun 17 18:57:07 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv23839/lib-storage/index/maildir
Modified Files:
maildir-copy.c
Log Message:
Handle EMLINK and EPERM errors the same way as EXDEV when handling hardlink
failures. Added ECANTLINK() macro for this.
Index: maildir-copy.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-copy.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- maildir-copy.c 16 Jun 2006 09:40:40 -0000 1.45
+++ maildir-copy.c 17 Jun 2006 15:57:04 -0000 1.46
@@ -73,7 +73,7 @@
"Not enough disk space");
return -1;
}
- if (errno == EACCES || errno == EXDEV)
+ if (errno == EACCES || ECANTLINK(errno))
return 1;
mail_storage_set_critical(STORAGE(mbox->storage),
More information about the dovecot-cvs
mailing list