Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8039:ccf59801b63c HEAD
Solaris fs quota may have closed fd 0.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 21 Jul 2008 00:09:44 +0300 |
parents | dc280df713f4 |
children | f118ee90ab21 |
files | src/plugins/quota/quota-fs.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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; }