dovecot-1.2: Solaris fs quota may have closed fd 0.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jul 21 00:10:49 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/ccf59801b63c
changeset: 8039:ccf59801b63c
user: Timo Sirainen <tss at iki.fi>
date: Mon Jul 21 00:09:44 2008 +0300
description:
Solaris fs quota may have closed fd 0.
diffstat:
1 file changed, 3 insertions(+)
src/plugins/quota/quota-fs.c | 3 +++
diffs (13 lines):
diff -r dc280df713f4 -r ccf59801b63c src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c Sun Jul 20 23:47:32 2008 +0300
+++ b/src/plugins/quota/quota-fs.c Mon Jul 21 00:09:44 2008 +0300
@@ -160,6 +160,9 @@ static struct fs_quota_mountpoint *fs_qu
mount->mount_path = point.mount_path;
mount->type = point.type;
mount->block_size = point.block_size;
+#ifdef FS_QUOTA_SOLARIS
+ mount->fd = -1;
+#endif
return mount;
}
More information about the dovecot-cvs
mailing list