[dovecot-cvs] dovecot/src/lib-index mail-index-lock.c,1.54,1.55
tss at dovecot.org
tss at dovecot.org
Tue Oct 24 17:10:29 UTC 2006
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv24489
Modified Files:
mail-index-lock.c
Log Message:
flock isn't anymore the default locking method, so don't bother giving a
special error message if it fails.
Index: mail-index-lock.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-lock.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- mail-index-lock.c 17 Feb 2006 23:36:38 -0000 1.54
+++ mail-index-lock.c 24 Oct 2006 16:10:26 -0000 1.55
@@ -111,16 +111,6 @@
b) timeouted */
return 0;
}
- if (errno == ENOLCK) {
- /* Give a bit more helpful error message since this
- is the default locking method and it doesn't work
- with NFS. */
- mail_index_set_error(index,
- "flock() failed with file %s: %m "
- "(see lock_method setting in config file)",
- path);
- return -1;
- }
mail_index_file_set_syscall_error(index, path, "flock()");
return -1;
#endif
More information about the dovecot-cvs
mailing list