[dovecot-cvs] dovecot/src/lib-index mail-transaction-log.c, 1.93,
1.94
cras at dovecot.org
cras at dovecot.org
Sat Apr 23 12:07:33 EEST 2005
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache.c, 1.67,
1.68 mail-cache.h, 1.22, 1.23 mail-transaction-log.c, 1.92, 1.93
- Next message: [dovecot-cvs] dovecot/src/auth auth-request.c, 1.19,
1.20 mech-anonymous.c, 1.12, 1.13 mech-apop.c, 1.15,
1.16 mech-login.c, 1.11, 1.12 mech-ntlm.c, 1.18,
1.19 mech-plain.c, 1.30, 1.31 mech-rpa.c, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv20859
Modified Files:
mail-transaction-log.c
Log Message:
Don't crash if dotlock replacing failed.
Index: mail-transaction-log.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-transaction-log.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- mail-transaction-log.c 23 Apr 2005 08:45:24 -0000 1.93
+++ mail-transaction-log.c 23 Apr 2005 09:07:31 -0000 1.94
@@ -498,7 +498,8 @@
fd2 = mail_transaction_log_file_create2(log, path, fd, &dotlock,
dev, ino, file_size);
if (fd2 < 0) {
- (void)file_dotlock_delete(&dotlock);
+ if (dotlock != NULL)
+ (void)file_dotlock_delete(&dotlock);
return -1;
}
return fd2;
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache.c, 1.67,
1.68 mail-cache.h, 1.22, 1.23 mail-transaction-log.c, 1.92, 1.93
- Next message: [dovecot-cvs] dovecot/src/auth auth-request.c, 1.19,
1.20 mech-anonymous.c, 1.12, 1.13 mech-apop.c, 1.15,
1.16 mech-login.c, 1.11, 1.12 mech-ntlm.c, 1.18,
1.19 mech-plain.c, 1.30, 1.31 mech-rpa.c, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list