[dovecot-cvs] dovecot/src/lib-index mail-index.h,1.50,1.51
cras at procontrol.fi
cras at procontrol.fi
Mon Nov 4 08:20:37 EET 2002
Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv17511/lib-index
Modified Files:
mail-index.h
Log Message:
mbox_unlock() actually set exclusive lock
Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- mail-index.h 4 Nov 2002 04:47:40 -0000 1.50
+++ mail-index.h 4 Nov 2002 06:20:35 -0000 1.51
@@ -476,7 +476,7 @@
/* MailLockType to fcntl() lock type */
#define MAIL_LOCK_TO_FLOCK(lock_type) \
- ((lock_type) == MAIL_LOCK_UNLOCK ? F_UNLCK : \
- (lock_type) == MAIL_LOCK_SHARED ? F_RDLCK : F_WRLCK)
+ ((lock_type) == MAIL_LOCK_EXCLUSIVE ? F_WRLCK : \
+ (lock_type) == MAIL_LOCK_SHARED ? F_RDLCK : F_UNLCK)
#endif
More information about the dovecot-cvs
mailing list