]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Solaris fs quota may have closed fd 0.
authorTimo Sirainen <tss@iki.fi>
Sun, 20 Jul 2008 21:09:44 +0000 (00:09 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 20 Jul 2008 21:09:44 +0000 (00:09 +0300)
--HG--
branch : HEAD

src/plugins/quota/quota-fs.c

index af8ff6ed51a6c46d9b02ae72deccc76f6f45f1c3..2e18fe2276818b10b6e4ca17deac721cafb3431e 100644 (file)
@@ -160,6 +160,9 @@ static struct fs_quota_mountpoint *fs_quota_mountpoint_get(const char *dir)
        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;
 }