Don't disable quota when maildirsize lost to races. exim-4_75_RC2
authorPhil Pennock <pdp@exim.org>
Tue, 22 Feb 2011 03:17:13 +0000 (22:17 -0500)
committerPhil Pennock <pdp@exim.org>
Tue, 22 Feb 2011 03:17:13 +0000 (22:17 -0500)
commit554e333ebbe0552b61604cdf8fec77f507a3ab9b
treef4f30f16b32287c58da8568c249cab344a8f602e
parent2e64baa9d155c1a657ba43cbe0f9bd4846621b36
Don't disable quota when maildirsize lost to races.

When maildir_ensure_sizefile() returns -2, we still have size
information, so we can still use that.  Don't disable quota.  As a
result, do refrain from potentially calling close(-2).

Fixes bug 1086
src/src/transports/appendfile.c